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

Class: Swift_Transport_SmtpAgent

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SmtpAgent.php

Interface Overview


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


Author(s):

  • Chris Corbyn

Methods



Class Details

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



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


method executeCommand [line 35]

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

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   An array of failures by-reference
   &$failures  

[ Top ]

method getBuffer [line 23]

Swift_Transport_IoBuffer getBuffer( )

Get the IoBuffer where read/writes are occurring.



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:53 +0000 by phpDocumentor 1.4.3