Implementation of the mail transport interface using the system MTA.
The system MTA translates to sendmail on most Linux distributions.
Qmail insists it should only have "\n" linebreaks and will send garbled messages with the default "\r\n" setting. Use ezcMailTools::setLineBreak( "\n" ) before sending mail to fix this issue.
Source for this file: /Mail/src/transports/mta/mta_transport.php
Version: | //autogen// |
public ezcMailMtaTransport |
__construct(
)
Constructs a new ezcMailMtaTransport. |
public void |
send(
$mail
)
Sends the mail $mail using the PHP mail method. |
Constructs a new ezcMailMtaTransport.
Sends the mail $mail using the PHP mail method.
Note that a message may not arrive at the destination even though it was accepted for delivery.
Name | Type | Description |
---|---|---|
$mail |
ezcMail |
Type | Description |
---|---|
ezcMailTransportException |
if the mail was not accepted for delivery by the MTA. |
Method | Description |
---|---|
ezcMailTransport::send() |
Sends the contents of $mail. |