Mail: ezcMailMtaTransport
[ ]
[ Display example ] [ Mail listing example ] [ Rfcs ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMailMtaTransport
|
Implementation of the mail transport interface using the system MTA. [
source]
Implemented Interfaces
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.
Method Summary
|
public ezcMailMtaTransport |
__construct(
)
Constructs a new ezcMailMtaTransport. |
|
public void |
send(
$mail )
Sends the mail $mail using the PHP mail method. |
Methods
__construct
ezcMailMtaTransport __construct(
)
Constructs a new ezcMailMtaTransport.
send
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.
Parameters
| Name |
Type |
Description |
$mail |
ezcMail |
|
Throws
| Class | Description |
ezcMailTransportException |
if the mail was not accepted for delivery by the MTA. |
Last updated: Wed, 28 Nov 2007