This interface intercepts calls to the mail() function.

package Swift
subpackage Transport
author Chris Corbyn

 Methods

Send mail via the mail() function.

mail(string $to, string $subject, string $body, string $headers, string $extraParams) : boolean

This method takes the same arguments as PHP mail().

Parameters

$to

string

$subject

string

$body

string

$headers

string

$extraParams

string

Returns

boolean