Class Swift_SendmailTransport
Inheritance | Swift_SendmailTransport » Swift_Transport_SendmailTransport » Swift_Transport_AbstractSmtpTransport |
---|---|
Implements | Swift_Transport |
SendmailTransport for sending mail through a Sendmail/Postfix (etc.
.) binary.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$_buffer | Input-Output buffer for sending/receiving SMTP commands and responses | Swift_Transport_AbstractSmtpTransport | |
$_domain | The domain name to use in HELO command | Swift_Transport_AbstractSmtpTransport | |
$_eventDispatcher | The event dispatching layer | Swift_Transport_AbstractSmtpTransport | |
$_sourceIp | Source Ip | Swift_Transport_AbstractSmtpTransport | |
$_started | Connection status | Swift_Transport_AbstractSmtpTransport |
Public Methods
Protected Methods
Method Details
Create a new SendmailTransport, optionally using $command for sending.
public void __construct ( $command = '/usr/sbin/sendmail -bs' ) | ||
$command | string |
Create a new SendmailTransport instance.
public static Swift_SendmailTransport newInstance ( $command = '/usr/sbin/sendmail -bs' ) | ||
$command | string |