$darkmode
![]() |
Qore SmtpClient Module Reference 2.0
|
Class for SMTP non-blocking / polling pings. More...
Public Member Functions | |
| constructor (SmtpClient smtp) | |
| Creates the object based on the SmtpClient. | |
| *hash< SocketPollInfo > | continuePoll () |
| Returns a hash to be used for I/O polling or NOTHING in case the poll operation is complete. | |
| string | getGoal () |
| Returns the goal. More... | |
| string | getState () |
| Returns the current state. More... | |
| bool | goalReached () |
| Returns True when the goal as been reached. More... | |
Protected Member Functions | |
| 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. | |
Protected Attributes | |
| 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.
|
virtual |
|
protected |
Private reads a reply from the SMTP server.
|
virtual |
|
virtual |
Returns True when the goal as been reached.
Implements Qore::AbstractPollOperation.