laravel / 10 / api / 10.x / illuminate / mail / mailables / address.html

Address

class Address (View source)

Properties

string $address

The recipient's email address.

string|null $name

The recipient's name.

Methods

void __construct(string $address, string $name = null)

Create a new address instance.

Details

void __construct(string $address, string $name = null)

Create a new address instance.

Parameters

string $address
string $name

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Mail/Mailables/Address.html