NAWA 0.9
Web Application Framework for C++
nawa::mail::MimeEmail Class Reference

#include <nawa/mail/Email/impl/MimeEmail.h>

Inherits nawa::mail::Email.

Classes

class  MimePart
 
class  MimePartList
 
class  MimePartOrList
 

Public Member Functions

 ~MimeEmail () override
 
 MimeEmail ()
 
 MimeEmail (MimeEmail const &other)
 
MimeEmailoperator= (const MimeEmail &other)
 
 MimeEmail (MimeEmail &&other) noexcept
 
MimeEmailoperator= (MimeEmail &&other) noexcept
 
MimePartListmimePartList () noexcept
 
MimePartList const & mimePartList () const noexcept
 
MimeEmailmimePartList (MimePartList 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)
 
Emailoperator= (const Email &other)
 
 Email (Email &&other) noexcept
 
Emailoperator= (Email &&other) noexcept
 
HeadersMapheaders () noexcept
 
HeadersMap const & headers () const noexcept
 
Emailheaders (HeadersMap value) noexcept
 

Additional Inherited Members

- Public Types inherited from nawa::mail::Email
using HeadersMap = std::unordered_map< std::string, std::string >
 

Detailed Description

Structure representing a MIME email (headers and MIME parts, excluding the envelope).

Definition at line 35 of file MimeEmail.h.

Constructor & Destructor Documentation

◆ ~MimeEmail()

nawa::mail::MimeEmail::~MimeEmail ( )
override

◆ MimeEmail() [1/3]

nawa::mail::MimeEmail::MimeEmail ( )

◆ MimeEmail() [2/3]

nawa::mail::MimeEmail::MimeEmail ( MimeEmail const &  other)

◆ MimeEmail() [3/3]

nawa::mail::MimeEmail::MimeEmail ( MimeEmail &&  other)
noexcept

Member Function Documentation

◆ operator=() [1/2]

MimeEmail & nawa::mail::MimeEmail::operator= ( const MimeEmail other)

◆ operator=() [2/2]

MimeEmail & nawa::mail::MimeEmail::operator= ( MimeEmail &&  other)
noexcept

◆ mimePartList() [1/3]

MimePartList & nawa::mail::MimeEmail::mimePartList ( )
noexcept

List containing all MIME parts that should be included in this email. It should contain at least one text (or HTML) part.

◆ mimePartList() [2/3]

MimePartList const & nawa::mail::MimeEmail::mimePartList ( ) const
noexcept

◆ mimePartList() [3/3]

MimeEmail & nawa::mail::MimeEmail::mimePartList ( MimePartList  value)
noexcept

◆ getRaw()

std::string nawa::mail::MimeEmail::getRaw ( std::shared_ptr< ReplacementRules > const &  replacementRules) const
overridevirtual

Get the raw source of the email.

Parameters
replacementRulesReplacements that shall be applied in all suitable (body) parts of the email.
Returns
Raw source of the email.

Implements nawa::mail::Email.


The documentation for this class was generated from the following file: