|
| __construct ($host= '127.0.0.1', $port=null, $config=null) |
| Constructor.
|
|
| auth () |
| Perform PLAIN authentication with supplied credentials.
|
|
| __construct ($host= '127.0.0.1', $port=null, array $config=array()) |
| Constructor.
|
|
| connect () |
| Connect to the server with the parameters given in the constructor.
|
|
| helo ($host= '127.0.0.1') |
| Initiate HELO/EHLO sequence and set flag to indicate valid smtp session.
|
|
| mail ($from) |
| Issues MAIL command.
|
|
| rcpt ($to) |
| Issues RCPT command.
|
|
| data ($data) |
| Issues DATA command.
|
|
| rset () |
| Issues the RSET command and validates answer.
|
|
| noop () |
| Issues the NOOP command and validates answer.
|
|
| vrfy ($user) |
| Issues the VRFY command and validates answer.
|
|
| quit () |
| Issues the QUIT command and clears the current session.
|
|
| auth () |
| Default authentication method.
|
|
| disconnect () |
| Closes connection.
|
|
| __construct ($host= '127.0.0.1', $port=null) |
| Constructor.
|
|
| __destruct () |
| Class destructor to cleanup open resources.
|
|
| setMaximumLog ($maximumLog) |
| Set the maximum log size.
|
|
| getMaximumLog () |
| Get the maximum log size.
|
|
| connect () |
| Create a connection to the remote host.
|
|
| getRequest () |
| Retrieve the last client request.
|
|
| getResponse () |
| Retrieve the last server response.
|
|
| getLog () |
| Retrieve the transaction log.
|
|
| resetLog () |
| Reset the transaction log.
|
|