class MailTransport implements TransportInterface

Methods

__construct()

Define the sendmail path if so

bool
validate()

Validate this transport way

mixed
transport(string $to, string $subject, string $message, string $additional_headers = '', string $additional_parameters = '')

Messages sender : prepare the whole content and send the e-mail

Details

at line 43
__construct()

Define the sendmail path if so

at line 56
bool validate()

Validate this transport way

Return Value

bool Must return a boolean after testing the transport way in current envionement

at line 72
mixed transport(string $to, string $subject, string $message, string $additional_headers = '', string $additional_parameters = '')

Messages sender : prepare the whole content and send the e-mail

Parameters

string $to
string $subject
string $message
string $additional_headers
string $additional_parameters

Return Value

mixed

See also

mail()