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