Addresses
- Full name:
\Qubus\Mail\Addresses
Methods
withFrom
Set the From and FromName properties.
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string | |
$name | string | |
$auto | bool | Whether to also set the Sender address, defaults to true. |
Throws:
withTo
Add a "To" address.
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string|array | The email address(es) to send to. |
Throws:
withCc
Add a "CC" address.
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string|array | The email address(es) to send to. |
Throws:
withBcc
Add a "BCC" address.
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string|array | The email address(es) to send to. |
Throws:
withReplyTo
Add a "Reply-To" address.
Parameters:
Parameter | Type | Description |
---|---|---|
$address | string|array | The email address(es) to reply to. |
Throws:
Automatically generated on 2025-10-13