![]() |
TYPO3
7.6
|
Public Member Functions | |
| __construct (Swift_Transport $source, Swift_Mime_Message $message) | |
| getTransport () | |
| getMessage () | |
| setFailedRecipients ($recipients) | |
| getFailedRecipients () | |
| setResult ($result) | |
| getResult () | |
Public Member Functions inherited from Swift_Events_EventObject | |
| __construct ($source) | |
| getSource () | |
| cancelBubble ($cancel=true) | |
| bubbleCancelled () | |
Public Attributes | |
| const | RESULT_PENDING = 0x0001 |
| const | RESULT_SPOOLED = 0x0011 |
| const | RESULT_SUCCESS = 0x0010 |
| const | RESULT_TENTATIVE = 0x0100 |
| const | RESULT_FAILED = 0x1000 |
Private Attributes | |
| $_message | |
| $_failedRecipients = array() | |
| $_result | |
Generated when a message is being sent.
Definition at line 16 of file SendEvent.php.
| __construct | ( | Swift_Transport | $source, |
| Swift_Mime_Message | $message | ||
| ) |
Create a new SendEvent for $source and $message.
| Swift_Transport | $source | |
| Swift_Mime_Message | $message |
Definition at line 60 of file SendEvent.php.
| getFailedRecipients | ( | ) |
Get an recipient addresses which were not accepted for delivery.
Definition at line 102 of file SendEvent.php.
References $_failedRecipients.
Referenced by Swift_Plugins_ReporterPlugin\sendPerformed().
| getMessage | ( | ) |
Get the Message being sent.
Definition at line 82 of file SendEvent.php.
References $_message.
Referenced by Swift_Plugins_ImpersonatePlugin\beforeSendPerformed(), Swift_Plugins_MessageLogger\beforeSendPerformed(), Swift_Plugins_DecoratorPlugin\beforeSendPerformed(), Swift_Plugins_RedirectingPlugin\beforeSendPerformed(), Swift_Plugins_BandwidthMonitorPlugin\sendPerformed(), Swift_Plugins_ReporterPlugin\sendPerformed(), Swift_Plugins_ImpersonatePlugin\sendPerformed(), Swift_Plugins_DecoratorPlugin\sendPerformed(), and Swift_Plugins_RedirectingPlugin\sendPerformed().
| getResult | ( | ) |
Get the result of this Event.
The return value is a bitmask from {
Definition at line 125 of file SendEvent.php.
References $_result.
| getTransport | ( | ) |
Get the Transport used to send the Message.
Definition at line 72 of file SendEvent.php.
References Swift_Events_EventObject\getSource().
Referenced by Swift_Plugins_AntiFloodPlugin\sendPerformed().
| setFailedRecipients | ( | $recipients | ) |
Set the array of addresses that failed in sending.
| array | $recipients |
Definition at line 92 of file SendEvent.php.
| setResult | ( | $result | ) |
|
private |
Definition at line 45 of file SendEvent.php.
Referenced by getFailedRecipients().
|
private |
Definition at line 38 of file SendEvent.php.
Referenced by getMessage().
|
private |
Definition at line 52 of file SendEvent.php.
Referenced by getResult().
| const RESULT_FAILED = 0x1000 |
Sending failed
Definition at line 31 of file SendEvent.php.
Referenced by Swift_Transport_SpoolTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
| const RESULT_PENDING = 0x0001 |
Sending has yet to occur
Definition at line 19 of file SendEvent.php.
| const RESULT_SPOOLED = 0x0011 |
Email is spooled, ready to be sent
Definition at line 22 of file SendEvent.php.
Referenced by Swift_Transport_SpoolTransport\send().
| const RESULT_SUCCESS = 0x0010 |
Sending was successful
Definition at line 25 of file SendEvent.php.
Referenced by Swift_Transport_NullTransport\send(), Swift_Transport_SendmailTransport\send(), Swift_Transport_MailTransport\send(), and Swift_Transport_AbstractSmtpTransport\send().
| const RESULT_TENTATIVE = 0x0100 |
Sending worked, but there were some failures
Definition at line 28 of file SendEvent.php.
Referenced by Swift_Transport_AbstractSmtpTransport\send().
1.8.3