\Swift_Mailer
Swift Mailer class.
- Author: Chris Corbyn
Synopsis
class Swift_Mailer
{
- // members
- private $_transport;
- // methods
- public void __construct()
- public static Swift_Mailer newInstance()
- public createMessage()
- public integer send()
- public void registerPlugin()
- public Swift_Transport getTransport()
Members
private
-
$_transport
The Transport used to send messages
Methods
public
- __construct() — Create a new Mailer using $transport for delivery.
- createMessage() — Create a new class instance of one of the message services.
- getTransport() — The Transport used to send messages.
- newInstance() — Create a new Mailer instance.
- registerPlugin() — Register a plugin using a known unique key (e.g. myPlugin).
- send() — Send the given Message like it would be sent in a mail client.