Methods summary
public
Fabian\Mandrill\Message
|
#
setFrom( string $email, string $name = NULL )
Sets the sender of the message.
Sets the sender of the message.
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
setBody( string $body )
Sets textual body.
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
setHtmlBody( string $html, NOT $basePath = NULL )
Sets HTML body.
Parameters
- $html
string
- $basePath
NOT IMPLEMENTED
Returns
|
public
Fabian\Mandrill\Message
|
#
setSubject( string $subject )
Sets the subject of the message.
Sets the subject of the message.
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
addTo( string $email, string $name = NULL )
Adds email recipient.
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
addTag( string $tag )
Add tag form Mandrill Outbound info
Add tag form Mandrill Outbound info
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
setAsync( type $async = TRUE )
Enable a background sending mode that is optimized for bulk sending. In async
mode, messages/send will immediately return a status of "queued" for every
recipient. To handle rejections when sending in async mode, set up a webhook for
the 'reject' event. Defaults to false for messages with no more than 10
recipients; messages with more than 10 recipients are always sent
asynchronously, regardless of the value of async.
Enable a background sending mode that is optimized for bulk sending. In async
mode, messages/send will immediately return a status of "queued" for every
recipient. To handle rejections when sending in async mode, set up a webhook for
the 'reject' event. Defaults to false for messages with no more than 10
recipients; messages with more than 10 recipients are always sent
asynchronously, regardless of the value of async.
Parameters
Returns
|
public
Fabian\Mandrill\Message
|
#
setParam( string $param, string $value )
Add another Mandrill param
Add another Mandrill param
Parameters
- $param
string $param
- $value
string $value
Returns
|
public
array
|
|