Send the given Message.
Recipient/sender data will be retreived 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).
Tags:
Overrides
Swift_Transport_AbstractSmtpTransport::send() (Send the given Message.)
Parameters:
void setCommand(
string
$command)
|
|
Set the command to invoke.
If using -t mode you are strongly advised to include -oi or -i in the flags. For example: /usr/sbin/sendmail -oi -t Swift will append a -f<sender> flag if one is not present. The recommended mode is "-bs" since it is interactive and failure notifications are hence possible.
Tags:
Parameters: