Swift_Transport_SendmailTransport::send
Send the given Message.
Recipient/sender data will be retrieved from the Message API. The return value is the number of recipients who were accepted for delivery. NOTE: If using 'sendmail -t' you will not be aware of any failures until they bounce (i.e. send() will always return 100% success).
Signature
public function send(Swift_Mime_Message
$message,
[array&
$failedRecipients = null] )
Parameters
$message
— Swift_Mime_Message
$failedRecipients
— array- An array of failures by-reference
Returns
- int