Public Member Functions |
| MailMessage () |
| MailMessage (Str input) |
virtual | ~MailMessage () |
const Str & | getFromName (void) const |
void | setFromName (const Str &FromName) |
void | setFromName (const Str &FromName, const Str &toEnc) |
const Str & | getFromAddr (void) const |
void | setFromAddr (const Str &FromAddr) |
const Str & | getToName (void) const |
void | setToName (const Str &ToName) |
void | setToName (const Str &ToName, const Str &toEnc) |
const Str & | getToAddr (void) const |
void | setToAddr (const Str &ToAddr) |
int | getDate (void) const |
void | setDate (int Date) |
const Str & | getSubject (void) const |
void | setSubject (const Str &Subject) |
void | setSubject (const Str &Subject, const Str &toEnc) |
const Str & | getCcName (void) const |
void | setCcName (const Str &CcName) |
const Str & | getCcAddr (void) const |
void | setCcAddr (const Str &CcAddr) |
const Str & | getBccName (void) const |
void | setBccName (const Str &BccName) |
const Str & | getBccAddr (void) const |
void | setBccAddr (const Str &BccAddr) |
const Str & | getBody (void) const |
void | setBody (const Str &Body) |
const Str & | getFullHeader (void) const |
void | setFullHeader (const Str &FullHeader) |
const Str & | getContentType (void) const |
void | setContentType (const Str &ContentType) |
const Str & | getReportType (void) const |
void | setReportType (const Str &ReportType) |
const Str & | getCharset (void) const |
void | setCharset (const Str &Charset) |
void | setContentTransferEncoding (int) |
int | getContentTransferEncoding (void) |
size_t | getAttachments (void) const |
MailAttachment | getAttachment (size_t index) const |
void | addAttachment (const MailAttachment &Attachment) |
| adding attachment to email
|
std::multimap< Str, Str > | getCustomHeaders (void) const |
Str | encodeUTFStr (Str source, Str toEnc) |
Str | encodeUTFStrPart (Str part, Str toEnc) |
bool | is_line_ascii (const Str &in) |
int | count_quoted_size (const Str &in) |
int | count_base64_size (const Str &in) |
void | parseMail (struct mailmime *mime) |
| end of public interface methods
|
void | setFields (struct mailimf_fields *fields) |
struct mailimf_fields * | parseFields (void) |
int | getMailMimePartType (struct mailmime *mime) |
int | getMailMimeMainType (struct mailmime *mime) |
Str | getMailMimeContentType (struct mailmime *mime) |
int | getMailMimeDiscreteType (struct mailmime *mime) |
Str | getMailMimeDiscreteTypeStr (struct mailmime *mime) |
int | getMailMimeCompositeType (struct mailmime *mime) |
Str | getMailMimeCompositeTypeStr (struct mailmime *mime) |
void | getAttachments (std::list< MailAttachment > &attachment, struct mailmime *mime) |
void | getAttachment (MailAttachment *Attachment, struct mailmime *mime_part) |
struct mailimf_fields * | buildFields (void) |
struct mailmime * | buildMessage (struct mailimf_fields *fields) |
struct mailmime * | buildBodyText (void) |
struct mailmime * | buildBodyAttachment (MailAttachment &attach) |
Str | stringify (void) |
Int | sendMail (Int collectorID, Int secureBody=0) |
Static Public Member Functions |
static Str | decodeStr (const Str &str, const Str &code) |
static Str | decodeStrUTF8 (const Str &str) |
static Str | decodeStrElement (const Str &str, const Str &code) |
Data Fields |
Str | FromName |
| From Name.
|
Str | FromAddr |
| From Email address.
|
Str | ToName |
| To Name.
|
Str | ToAddr |
| to Email address
|
Str | Subject |
| Subject of email.
|
Str | BccName |
| Name of bcc.
|
Str | BccAddr |
| Address of bcc.
|
Str | CcName |
| Name of cc.
|
Str | CcAddr |
| Address cc.
|
Str | ContentType |
| content type
|
Str | Charset |
| char set
|
Str | Body |
| Body of email.
|
Str | FullHeader |
| Header of email.
|
Str | ReportType |
| Header of email, delivery failure status.
|
Str | OriginSubject |
| Original subject in UTF.
|
Str | OriginFromName |
Str | OriginToName |
int | ContentTransferEncoding |
auto_ptr< char > | data_str |
size_t | data_len |
int | Date |
std::list< MailAttachment > | Attachments |
std::list< std::pair< Str, Str > > | CustomHeaders |
std::list< MailBox > | TOs |
std::list< MailBox > | BCCs |
std::list< MailBox > | CCs |