|
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.
|
protected |
|
protected |
|
static |
References SMTPCommand::createCommand(), and vmime::dynamicCast().
|
static |
References SMTPCommand::createCommand(), and vmime::dynamicCast().
|
static |
References SMTPCommand::createCommand(), and vmime::dynamicCast().
|
static |
Creates a new SMTP command with the specified text.
| text | command text |
References vmime::dynamicCast().
Referenced by SMTPCommand::AUTH(), SMTPCommand::AUTH(), SMTPCommand::BDAT(), SMTPCommand::DATA(), SMTPCommand::EHLO(), SMTPCommand::HELO(), SMTPCommand::MAIL(), SMTPCommand::NOOP(), SMTPCommand::QUIT(), SMTPCommand::RCPT(), SMTPCommand::RSET(), and SMTPCommand::STARTTLS().
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand(), and vmime::dynamicCast().
Returns the full text of the command, including command name and parameters (if any).
Reimplemented in SMTPCommandSet.
Returns the full text of the command, suitable for outputing to the tracer.
Reimplemented in SMTPCommandSet.
|
static |
References SMTPCommand::createCommand(), and vmime::dynamicCast().
|
static |
References vmime::dynamicCast(), and SMTPCommand::MAIL().
Referenced by SMTPCommand::MAIL().
|
static |
References SMTPCommand::createCommand(), vmime::dynamicCast(), and vmime::charsets::UTF_8.
|
static |
References SMTPCommand::createCommand().
Referenced by SMTPTransport::noop().
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand(), vmime::dynamicCast(), and vmime::charsets::UTF_8.
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand().
|
virtual |
Sends this command to the specified socket.
| sok | socket to which the command will be written |
| tr | tracer |
Reimplemented in SMTPCommandSet.
References vmime::dynamicCast().