Class IntraEmailSender
Defined in File intra_sender.hpp
Inheritance Relationships
Base Type
public email::EmailSender
(Class EmailSender)
Class Documentation
-
class IntraEmailSender : public email::EmailSender
Intraprocess email sender.
Simply builds an email object and sends it to the intraprocess email receiver.
Public Functions
Constructor.
- Parameters:
receiver – the intraprocess email receiver
-
virtual ~IntraEmailSender()
-
virtual bool send(const struct EmailContent &content, std::optional<EmailHeaders> additional_headers = std::nullopt)
Send an email.
- Parameters:
content – the content
additional_headers – the optional additional headers to include in the email
- Returns:
true if successful, false otherwise
-
virtual bool reply(const struct EmailContent &content, const struct EmailData &email, std::optional<EmailHeaders> additional_headers = std::nullopt)
Reply to an email.
- Parameters:
content – the content
email – the email to reply to
additional_headers – the optional additional headers to include in the email
- Returns:
true if successful, false otherwise