Path

ez components / documentation / api reference / 1.0.1 / mail


eZ Components 1.0.1

Mail: ezcMailTransportMta

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMailTransportMta

Implementation of the mail transport interface using the system MTA. [source]

Implemented Interfaces

The system MTA translates to sendmail on most Linux distributions.

Method Summary

public ezcMailTransportMta __construct( )
Constructs a new ezcMailTransportMta.
public void send( $mail )
Sends the mail $mail using the PHP mail method.

Methods

__construct

ezcMailTransportMta __construct( )
Constructs a new ezcMailTransportMta.

send

void send( ezcMail $mail )
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

ClassDescription
ezcMailException if the mail was not accepted for delivery by the MTA.

Last updated: Fri, 02 Nov 2007