Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Transport_SmtpAgent

Source Location: /vendors/swift/classes/Swift/Transport/SmtpAgent.php

Interface Overview


Wraps an IoBuffer to send/receive SMTP commands/responses.


Author(s):

  • Chris Corbyn

Methods



Class Details

[line 17]
Wraps an IoBuffer to send/receive SMTP commands/responses.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


method executeCommand [line 34]

void executeCommand( string $command, [int[] $codes = array()], [string[] &$failures = null])

Run a command against the buffer, expecting the given response codes.

If no response codes are given, the response will not be validated. If codes are given, an exception will be thrown on an invalid response.




Tags:

access:  public


Parameters:

string   $command  
int[]   $codes  
string[]   &$failures  

[ Top ]

method getBuffer [line 24]

Swift_Transport_IoBuffer getBuffer( )

Get the IoBuffer where read/writes are occurring.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:31 -0500 by phpDocumentor 1.4.3