Class Swift_MailTransport

InheritanceSwift_MailTransport » Swift_Transport_MailTransport
ImplementsSwift_Transport

Sends Messages using the mail() function.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

Hide inherited methods

MethodDescriptionDefined By
_throwException() Throw a TransportException, first sending it to any listeners Swift_Transport_MailTransport

Method Details

__construct() public method

Create a new MailTransport, optionally specifying $extraParams.

public void __construct ( $extraParams '-f%s' )
$extraParams string
newInstance() public static method

Create a new MailTransport instance.

public static Swift_MailTransport newInstance ( $extraParams '-f%s' )
$extraParams string

To be passed to mail()