Class Swift_Mailer
Package: Swift
Author:
Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mailer.php
Methods summary
public
|
#
__construct( Swift_Transport $transport )
Create a new Mailer using $transport for delivery.
Create a new Mailer using $transport for delivery.
Parameters
|
public static
Swift_Mailer
|
#
newInstance( Swift_Transport $transport )
Create a new Mailer instance.
Create a new Mailer instance.
Parameters
Returns
|
public
object
|
#
createMessage( string $service = 'message' )
Create a new class instance of one of the message services For example
'mimepart' would create a 'message.mimepart' instance
Create a new class instance of one of the message services For example
'mimepart' would create a 'message.mimepart' instance
Parameters
Returns
object
|
public
integer
|
#
send( Swift_Mime_Message $message, array & $failedRecipients = null )
Send the given Message like it would be sent in a mail client.
Send the given Message like it would be sent in a mail client.
All recipients (with the exception of Bcc) will be able to see the other
recipients this message was sent to.
Recipient/sender data will be retrieved from the Message object.
The return value is the number of recipients who were accepted for
delivery.
Parameters
Returns
integer
|
public
|
#
registerPlugin( Swift_Events_EventListener $plugin )
Register a plugin using a known unique key (e.g. myPlugin).
Register a plugin using a known unique key (e.g. myPlugin).
Parameters
|
public
Swift_Transport
|
#
getTransport( )
The Transport used to send messages.
The Transport used to send messages.
Returns
|
Magic methods summary
Properties summary
private
mixed
|
$_transport |
#
The Transport used to send messages
The Transport used to send messages
|