|
E-MailRelay
|
An asynchronous interface that verifies recipient 'to' addresses. More...
#include <gverifier.h>
Inheritance diagram for GSmtp::Verifier:Public Member Functions | |
| virtual void | verify (const std::string &rcpt_to_parameter, const std::string &mail_from_parameter, const GNet::Address &client_ip, const std::string &auth_mechanism, const std::string &auth_extra)=0 |
| Checks a recipient address and asynchronously returns a structure to indicate whether the address is a local mailbox, what the full name is, and the canonical address. More... | |
| virtual G::Slot::Signal2< std::string, VerifierStatus > & | doneSignal ()=0 |
| Returns a signal that is emit()ed when the verify() request is complete. More... | |
| virtual void | cancel ()=0 |
| Aborts any current processing. | |
| virtual | ~Verifier () |
| Destructor. | |
An asynchronous interface that verifies recipient 'to' addresses.
This is used in the VRFY and RCPT commands in the smtp server protocol.
Definition at line 43 of file gverifier.h.
|
pure virtual |
Returns a signal that is emit()ed when the verify() request is complete.
The first signal parameter is the mailbox name (ie. rcpt_to_parameter).
Implemented in GSmtp::NetworkVerifier, GSmtp::InternalVerifier, and GSmtp::ExecutableVerifier.
|
pure virtual |
Checks a recipient address and asynchronously returns a structure to indicate whether the address is a local mailbox, what the full name is, and the canonical address.
The 'mail-from' address is passed in for RCPT commands, but not VRFY.
Implemented in GSmtp::NetworkVerifier, GSmtp::InternalVerifier, and GSmtp::ExecutableVerifier.
1.8.9.1