Swift_Mailer::send
Send the given Message like it would be sent in a mail client.
All recipients (with the exception of Bcc) will be able to see the other recipients this message was sent to. Recipient/sender data will be retrieved from the Message object. The return value is the number of recipients who were accepted for delivery.
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
- integer