Class Swift_Events_SendEvent
Generated when a message is being sent.
- Swift_Events_EventObject implements Swift_Events_Event
- Swift_Events_SendEvent
Package: Swift\Events
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Events/SendEvent.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Events/SendEvent.php
Methods summary
public
|
#
__construct(
Create a new SendEvent for $source and $message. |
public
|
|
public
|
|
public
|
|
public
string[]
|
|
public
integer
|
|
public
integer
|
#
getResult( )
Get the result of this Event. The return value is a bitmask from RESULT_PENDING, RESULT_SUCCESS, RESULT_TENTATIVE, RESULT_FAILED |
Methods inherited from Swift_Events_EventObject
bubbleCancelled()
,
cancelBubble()
,
getSource()
Magic methods summary
Constants summary
integer |
RESULT_PENDING |
0x0001 |
#
Sending has yet to occur |
integer |
RESULT_SUCCESS |
0x0010 |
#
Sending was successful |
integer |
RESULT_TENTATIVE |
0x0100 |
#
Sending worked, but there were some failures |
integer |
RESULT_FAILED |
0x1000 |
#
Sending failed |
Properties summary
private
|
$_message |
#
The Message being sent. |
private
string[]
|
$_failedRecipients |
#
Any recipients which failed after sending. |
private
integer
|
$_result |
#
The overall result as a bitmask from the class constants. |