Leosac
0.8.0
Open Source Access Control
|
Reference interface for SMTP module. More...
#include <Mail.hpp>
Public Member Functions | |
virtual | ~SMTPService ()=default |
virtual void | async_send (const MailInfo &mail)=0 |
Send a message to the mailer service (if any) to enqueue an email. More... | |
virtual void | async_send_to_admin (const MailInfo &mail)=0 |
Similar to send, but add the leosac administrator email to the recipients' list. More... | |
Reference interface for SMTP module.
|
virtualdefault |
|
pure virtual |
Send a message to the mailer service (if any) to enqueue an email.
This method doesn't block: it doesn't wait for mail acknowledgment that the mail as been queue, nor does it wait for the ZeroMQ connection to the message bus.
Implemented in Leosac::Module::SMTP::SMTPServiceImpl.
|
pure virtual |
Similar to send, but add the leosac administrator email to the recipients' list.
The admin email is fetched from the environment: LEOSAC_ADMIN_MAIL
Implemented in Leosac::Module::SMTP::SMTPServiceImpl.