|
VMime
|
#include <SMTPCommand.hpp>


Public Member Functions | |
| virtual void | writeToSocket (shared_ptr< socket > sok, shared_ptr< tracer > tr) |
| virtual const string | getText () const |
| virtual const string | getTraceText () const |
Static Public Member Functions | |
| static shared_ptr< SMTPCommand > | HELO (const string &hostname) |
| static shared_ptr< SMTPCommand > | EHLO (const string &hostname) |
| static shared_ptr< SMTPCommand > | AUTH (const string &mechName) |
| static shared_ptr< SMTPCommand > | AUTH (const string &mechName, const std::string &initialResponse) |
| static shared_ptr< SMTPCommand > | STARTTLS () |
| static shared_ptr< SMTPCommand > | MAIL (const mailbox &mbox, const bool utf8) |
| static shared_ptr< SMTPCommand > | MAIL (const mailbox &mbox, const bool utf8, const size_t size) |
| static shared_ptr< SMTPCommand > | RCPT (const mailbox &mbox, const bool utf8) |
| static shared_ptr< SMTPCommand > | RSET () |
| static shared_ptr< SMTPCommand > | DATA () |
| static shared_ptr< SMTPCommand > | BDAT (const size_t chunkSize, const bool last) |
| static shared_ptr< SMTPCommand > | NOOP () |
| static shared_ptr< SMTPCommand > | QUIT () |
| static shared_ptr< SMTPCommand > | createCommand (const string &text, const string &traceText="") |
Protected Member Functions | |
| SMTPCommand (const string &text, const string &traceText) | |
| SMTPCommand (const SMTPCommand &) | |
| Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
A SMTP command, as sent to server.
Referenced by createCommand(), and SMTPCommand().
|
protected |
References SMTPCommand().
|
static |
References createCommand().
|
static |
References createCommand().
|
static |
References createCommand().
|
static |
Creates a new SMTP command with the specified text.
| text | command text |
References SMTPCommand().
Referenced by AUTH(), AUTH(), BDAT(), DATA(), EHLO(), HELO(), MAIL(), NOOP(), QUIT(), RCPT(), RSET(), and STARTTLS().
|
static |
References createCommand().
|
static |
References createCommand().
|
virtual |
Returns the full text of the command, including command name and parameters (if any).
Reimplemented in SMTPCommandSet.
|
virtual |
Returns the full text of the command, suitable for outputing to the tracer.
Reimplemented in SMTPCommandSet.
|
static |
References createCommand().
|
static |
|
static |
|
static |
References createCommand().
Referenced by SMTPTransport::noop().
|
static |
References createCommand().
|
static |
|
static |
References createCommand().
|
static |
References createCommand().
Sends this command to the specified socket.
| sok | socket to which the command will be written |
| tr | tracer |
Reimplemented in SMTPCommandSet.