Class Swift_MailTransport
Inheritance | Swift_MailTransport » Swift_Transport_MailTransport |
---|---|
Implements | Swift_Transport |
Sends Messages using the mail() function.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Create a new MailTransport, optionally specifying $extraParams. | Swift_MailTransport |
getExtraParams() | Get the additional parameters used on the mail() function. | Swift_Transport_MailTransport |
isStarted() | Not used. | Swift_Transport_MailTransport |
newInstance() | Create a new MailTransport instance. | Swift_MailTransport |
registerPlugin() | Register a plugin. | Swift_Transport_MailTransport |
send() | Send the given Message. | Swift_Transport_MailTransport |
setExtraParams() | Set the additional parameters used on the mail() function. | Swift_Transport_MailTransport |
start() | Not used. | Swift_Transport_MailTransport |
stop() | Not used. | Swift_Transport_MailTransport |
Protected Methods
Method | Description | Defined By |
---|---|---|
_throwException() | Throw a TransportException, first sending it to any listeners | Swift_Transport_MailTransport |
Method Details
Create a new MailTransport, optionally specifying $extraParams.
public void __construct ( $extraParams = '-f%s' ) | ||
$extraParams | string |
Create a new MailTransport instance.
public static Swift_MailTransport newInstance ( $extraParams = '-f%s' ) | ||
$extraParams | string | To be passed to mail() |