Fully Qualified Name: | Laminas\Mail\Transport\Envelope |
Extends: | AbstractOptions |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | AbstractOptions |
__get() | Get a configuration property | AbstractOptions |
__isset() | Test if a configuration property is null | AbstractOptions |
__set() | Set a configuration property | AbstractOptions |
__unset() | Set a configuration property to NULL | AbstractOptions |
getFrom() | Get MAIL FROM | Envelope |
getTo() | Get RCPT TO | Envelope |
setFrom() | Set MAIL FROM | Envelope |
setFromArray() | Set one or more configuration properties | AbstractOptions |
setTo() | Set RCPT TO | Envelope |
toArray() | Cast to array | AbstractOptions |
Constructor
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|null |
Returns:
Get a configuration property
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: mixed
Test if a configuration property is null
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: bool
Set a configuration property
Parameter Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Returns: void
Set a configuration property to NULL
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: void
Get MAIL FROM
Returns: string
Get RCPT TO
Returns: string|null
Set MAIL FROM
Parameter Name | Type | Description |
---|---|---|
$from | string |
Returns:
Set one or more configuration properties
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|\AbstractOptions |
Returns: \AbstractOptions Provides fluent interface
Set RCPT TO
Parameter Name | Type | Description |
---|---|---|
$to | string |
Returns:
Cast to array
Returns: array