E-MailRelay
|
A Verifier that talks to a remote address verifier over the network. More...
#include <gnetworkverifier.h>
Public Member Functions | |
NetworkVerifier (GNet::ExceptionSink, const std::string &server, unsigned int connection_timeout, unsigned int response_timeout) | |
Constructor. More... | |
~NetworkVerifier () override | |
Destructor. More... | |
NetworkVerifier (const NetworkVerifier &)=delete | |
NetworkVerifier (NetworkVerifier &&)=delete | |
void | operator= (const NetworkVerifier &)=delete |
void | operator= (NetworkVerifier &&)=delete |
![]() | |
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::Signal< const VerifierStatus & > & | doneSignal ()=0 |
Returns a signal that is emit()ed when the verify() request is complete. | |
virtual void | cancel ()=0 |
Aborts any current processing. | |
virtual | ~Verifier ()=default |
Destructor. | |
A Verifier that talks to a remote address verifier over the network.
Definition at line 38 of file gnetworkverifier.h.
GSmtp::NetworkVerifier::NetworkVerifier | ( | GNet::ExceptionSink | es, |
const std::string & | server, | ||
unsigned int | connection_timeout, | ||
unsigned int | response_timeout | ||
) |
Constructor.
Definition at line 27 of file gnetworkverifier.cpp.
|
override |
Destructor.
Definition at line 40 of file gnetworkverifier.cpp.