VMime
|
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 &) | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
A SMTP command, as sent to server.
|
protected |
Referenced by SMTPCommand::createCommand().
|
protected |
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand().
|
static |
Creates a new SMTP command with the specified text.
text | command text |
References SMTPCommand::SMTPCommand().
Referenced by 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().
|
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 SMTPCommand::createCommand().
|
static |
|
static |
|
static |
References SMTPCommand::createCommand().
Referenced by SMTPTransport::noop().
|
static |
References SMTPCommand::createCommand().
|
static |
|
static |
References SMTPCommand::createCommand().
|
static |
References SMTPCommand::createCommand().
Sends this command to the specified socket.
sok | socket to which the command will be written |
tr | tracer |
Reimplemented in SMTPCommandSet.