Class for SMTP non-blocking / polling pings.
More...
#include <SmtpClient.qm.dox.h>
|
|
const | SPS_COMPLETE = "complete" |
| | Complete state.
|
| |
|
const | SPS_CONNECT = "connect" |
| | Connect state.
|
| |
|
const | SPS_LOGIN = "login" |
| | Login state.
|
| |
|
const | SPS_READ_HELLO = "read-hello" |
| | Read hello state.
|
| |
|
const | SPS_READ_HELLO_REPLY = "read-hello-reply" |
| | Read hello reply state.
|
| |
|
const | SPS_READ_LOGIN_REPLY = "read-login-reply" |
| | Read login reply.
|
| |
|
const | SPS_READ_STARTTLS_REPLY = "read-starttls-reply" |
| | Read STARTTLS reply.
|
| |
|
const | SPS_SEND_HELLO = "send-hello" |
| | Send hello state.
|
| |
|
const | SPS_STARTTLS = "starttls" |
| | Send STARTTLS state.
|
| |
|
const | SPS_UPGRADE_TO_TLS = "upgrade-tls" |
| | Upgrade socket connection to TLS.
|
| |
|
| bool | getReply (reference< int > rcode, reference< string > rmsg) |
| | Private reads a reply from the SMTP server. More...
|
| |
|
Mutex | m () |
| | Lock for atomicity.
|
| |
|
Socket | sock () |
| | The Socket for communication with the server.
|
| |
|
| startLogin () |
| | Starts the polling login state.
|
| |
|
|
bool | esmtp = False |
| | ESMTP flag.
|
| |
|
bool | goal_reached = False |
| | Goal reached flag.
|
| |
|
string | hello_reply |
| | Server's HELO / EHLO reply.
|
| |
|
int | hello_reply_code |
| | Server's HELO / EHLO reply code.
|
| |
|
hash< auto > | info |
| | Info about the SMTP client.
|
| |
|
int | login_code |
| | Server's login code.
|
| |
|
string | login_reply |
| | Server's login reply.
|
| |
|
AbstractPollOperation | poller |
| | The current internal poll operation.
|
| |
|
int | starttls_code |
| | Server's STARTTLS code.
|
| |
|
string | starttls_reply |
| | Server's STARTTLS reply.
|
| |
|
string | state |
| | Current state.
|
| |
Class for SMTP non-blocking / polling pings.
◆ getGoal()
| string SmtpClient::SmtpPingPollOperation::getGoal |
( |
| ) |
|
|
virtual |
◆ getReply()
| bool SmtpClient::SmtpPingPollOperation::getReply |
( |
reference< int > |
rcode, |
|
|
reference< string > |
rmsg |
|
) |
| |
|
private |
Private reads a reply from the SMTP server.
- Returns
- False to continue reading, True if done
◆ getState()
| string SmtpClient::SmtpPingPollOperation::getState |
( |
| ) |
|
|
virtual |
◆ goalReached()
| bool SmtpClient::SmtpPingPollOperation::goalReached |
( |
| ) |
|
|
virtual |