Generated when a command is sent over an SMTP connection.

package Swift
subpackage Events
author Chris Corbyn

 Methods

Create a new CommandEvent for $source with $command.

__construct(\Swift_Transport $source, string $command, array $successCodes) 

Parameters

$command

string

$successCodes

array

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 command which was sent to the server.

getCommand() : string

Returns

string

Get the source object of this event.

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

Returns

object

Get the numeric response codes which indicate success for this command.

getSuccessCodes() : int[]

Returns

int[]

 Properties

 

$_bubbleCancelled 
Inherited
inherited_from \Swift_Events_EventObject::$$_bubbleCancelled
 

$_command : string
 

$_source 
Inherited
inherited_from \Swift_Events_EventObject::$$_source
 

$_successCodes : int[]