Generated when a response is received on a SMTP connection.

package Swift
subpackage Events
author Chris Corbyn

 Methods

Create a new ResponseEvent for $source and $response.

__construct(\Swift_Transport $source, string $response, boolean $valid) 

Parameters

$response

string

$valid

boolean

Returns true if this Event will not bubble any further up the stack.

bubbleCancelled() : boolean
Inherited
inherited_from \Swift_Events_EventObject::bubbleCancelled()

Returns

boolean

Prevent this Event from bubbling any further up the stack.

cancelBubble($cancel) 
Inherited
inherited_from \Swift_Events_EventObject::cancelBubble()

Parameters

$cancel

Get the response which was received from the server.

getResponse() : string

Returns

string

Get the source object of this event.

getSource() : object
Inherited
inherited_from \Swift_Events_EventObject::getSource()

Returns

object

Get the success status of this Event.

isValid() : boolean

Returns

boolean

 Properties

 

$_bubbleCancelled 
Inherited
inherited_from \Swift_Events_EventObject::$$_bubbleCancelled
 

$_response : string
 

$_source 
Inherited
inherited_from \Swift_Events_EventObject::$$_source
 

$_valid : boolean