Method |
Description |
|
__construct ( Swift_Transport $transport ) |
Create a new Mailer using $transport for delivery. |
|
createMessage ( string $service = 'message' ) : object |
Create a new class instance of one of the message services. |
|
getTransport ( ) : Swift_Transport |
The Transport used to send messages. |
|
newInstance ( Swift_Transport $transport ) : Swift_Mailer |
Create a new Mailer instance. |
|
registerPlugin ( Swift_Events_EventListener $plugin ) |
Register a plugin using a known unique key (e.g. myPlugin). |
|
send ( Swift_Mime_Message $message, array &$failedRecipients = null ) : integer |
Send the given Message like it would be sent in a mail client. |
|