#include <nawa/mail/Email/impl/SimpleEmail.h>
Inherits nawa::mail::Email.
Public Member Functions | |
~SimpleEmail () override | |
SimpleEmail () | |
SimpleEmail (SimpleEmail const &other) | |
SimpleEmail & | operator= (const SimpleEmail &other) |
SimpleEmail (SimpleEmail &&other) noexcept | |
SimpleEmail & | operator= (SimpleEmail &&other) noexcept |
std::string & | text () noexcept |
std::string const & | text () const noexcept |
SimpleEmail & | text (std::string value) noexcept |
bool & | quotedPrintableEncode () noexcept |
bool | quotedPrintableEncode () const noexcept |
SimpleEmail & | quotedPrintableEncode (bool value) noexcept |
std::string | getRaw (std::shared_ptr< ReplacementRules > const &replacementRules) const override |
Public Member Functions inherited from nawa::mail::Email | |
virtual | ~Email () |
Email () | |
Email (Email const &other) | |
Email & | operator= (const Email &other) |
Email (Email &&other) noexcept | |
Email & | operator= (Email &&other) noexcept |
HeadersMap & | headers () noexcept |
HeadersMap const & | headers () const noexcept |
Email & | headers (HeadersMap value) noexcept |
Additional Inherited Members | |
Public Types inherited from nawa::mail::Email | |
using | HeadersMap = std::unordered_map< std::string, std::string > |
Structure representing a basic email (just headers and payload, excluding the envelope). Please remember to also set the headers in the headers map of the base class Email.
Definition at line 36 of file SimpleEmail.h.
|
override |
nawa::mail::SimpleEmail::SimpleEmail | ( | ) |
nawa::mail::SimpleEmail::SimpleEmail | ( | SimpleEmail const & | other | ) |
|
noexcept |
SimpleEmail & nawa::mail::SimpleEmail::operator= | ( | const SimpleEmail & | other | ) |
|
noexcept |
|
noexcept |
The text part of the email.
|
noexcept |
|
noexcept |
|
noexcept |
Whether to apply quoted-printable encoding to the content of the email (recommended). This will also take care of the line lengths and set the header Content-Transfer-Encoding. Default: true.
|
noexcept |
|
noexcept |
|
overridevirtual |
Get the raw source of the email.
replacementRules | Replacements that shall be applied in all suitable (body) parts of the email. |
Implements nawa::mail::Email.
Definition at line 53 of file SimpleEmail.cpp.