21 #ifndef G_SMTP_VERIFIER_H
22 #define G_SMTP_VERIFIER_H
46 virtual void verify(
const std::string & rcpt_to_parameter ,
47 const std::string & mail_from_parameter ,
const GNet::Address & client_ip ,
48 const std::string & auth_mechanism ,
const std::string & auth_extra ) = 0 ;
61 virtual void cancel() = 0 ;
SMTP and message-store classes.
A signal class for two-parameter callbacks.
virtual G::Slot::Signal2< std::string, VerifierStatus > & doneSignal()=0
Returns a signal that is emit()ed when the verify() request is complete.
The GNet::Address class encapsulates a TCP/UDP transport address.
virtual void cancel()=0
Aborts any current processing.
An asynchronous interface that verifies recipient 'to' addresses.
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 ...
virtual ~Verifier()
Destructor.