|
join 1.0
lightweight network framework library
|
mail recipient. More...
#include <smtp_message.hpp>


Public Types | |
| enum | Type { Recipient , CCRecipient , BCCRecipient } |
| recipient type. More... | |
Public Member Functions | |
| SmtpRecipient ()=default | |
| create the SmtpRecipient instance. | |
| SmtpRecipient (const std::string &address, Type t=Recipient) | |
| create the SmtpRecipient instance. | |
| SmtpRecipient (const std::string &address, const std::string &name, Type t=Recipient) | |
| create the SmtpRecipient instance. | |
| SmtpRecipient (const SmtpRecipient &other) | |
| create the SmtpRecipient instance by copy. | |
| SmtpRecipient & | operator= (const SmtpRecipient &other) |
| assign the SmtpRecipient instance by copy. | |
| SmtpRecipient (SmtpRecipient &&other) | |
| create the SmtpRecipient instance by move. | |
| SmtpRecipient & | operator= (SmtpRecipient &&other) |
| assign the SmtpRecipient instance by move. | |
| virtual | ~SmtpRecipient ()=default |
| destroy the SmtpRecipient instance. | |
| void | type (Type t) |
| set recipient type. | |
| Type | type () const |
| get recipient type. | |
Public Member Functions inherited from join::SmtpSender | |
| SmtpSender ()=default | |
| create the SmtpSender instance. | |
| SmtpSender (const std::string &address) | |
| create the SmtpSender instance. | |
| SmtpSender (const std::string &address, const std::string &name) | |
| create the SmtpSender instance. | |
| SmtpSender (const SmtpSender &other) | |
| create the SmtpSender instance by copy. | |
| SmtpSender & | operator= (const SmtpSender &other) |
| assign the SmtpSender instance by copy. | |
| SmtpSender (SmtpSender &&other) | |
| create the SmtpSender instance by move. | |
| SmtpSender & | operator= (SmtpSender &&other) |
| assign the SmtpSender instance by move. | |
| virtual | ~SmtpSender ()=default |
| destroy the SmtpSender instance. | |
| void | address (const std::string &addr) |
| set address. | |
| const std::string & | address () const |
| get address. | |
| void | realName (const std::string &name) |
| set real name. | |
| const std::string & | realName () const |
| get real name. | |
| bool | empty () const |
| check if empty. | |
Protected Attributes | |
| Type | _type = Recipient |
| recipient type. | |
Protected Attributes inherited from join::SmtpSender | |
| std::string | _address |
| address. | |
| std::string | _name |
| name. | |
mail recipient.
|
default |
create the SmtpRecipient instance.
create the SmtpRecipient instance.
| address | recipient address. |
| t | recipient type. |
| SmtpRecipient::SmtpRecipient | ( | const std::string & | address, |
| const std::string & | name, | ||
| Type | t = Recipient ) |
create the SmtpRecipient instance.
| address | recipient address. |
| name | recipient name. |
| t | recipient type. |
| SmtpRecipient::SmtpRecipient | ( | const SmtpRecipient & | other | ) |
create the SmtpRecipient instance by copy.
| other | request to copy. |
| SmtpRecipient::SmtpRecipient | ( | SmtpRecipient && | other | ) |
create the SmtpRecipient instance by move.
| other | request to move. |
|
virtualdefault |
destroy the SmtpRecipient instance.
| SmtpRecipient & SmtpRecipient::operator= | ( | const SmtpRecipient & | other | ) |
assign the SmtpRecipient instance by copy.
| other | request to copy. |
| SmtpRecipient & SmtpRecipient::operator= | ( | SmtpRecipient && | other | ) |
assign the SmtpRecipient instance by move.
| other | request to move. |
| SmtpRecipient::Type SmtpRecipient::type | ( | ) | const |
get recipient type.
| void SmtpRecipient::type | ( | Type | t | ) |
set recipient type.
| t | recipient type. |