DomainPlug-insDocumentation
|
#include <MailMessage.hpp>
Public Member Functions | |
MailAttachment () | |
const RealBlob & | getBody (void) const |
Get body of attachment. | |
void | setBody (const RealBlob &Body) |
Set body of attachment. | |
const Str & | getFilename (void) const |
Get file name. | |
void | setFilename (const Str &Filename) |
Set file name. | |
const Str & | getCharset (void) const |
get char set | |
void | setCharset (const Str &Charset) |
set char set | |
const Str & | getContentType (void) const |
get content type | |
void | setContentType (const Str &ContentType) |
set content type | |
bool | isHtml (void) const |
void | setHtml (bool Html) |
bool | isText (void) const |
void | setText (bool Text) |
bool | isImage (void) const |
void | setImage (bool Image) |
bool | isAudio (void) const |
void | setAudio (bool Audio) |
bool | isVideo (void) const |
void | setVideo (bool Video) |
bool | isApplication (void) const |
void | setApplication (bool Application) |
void | setContentTransferEncoding (int input) |
int | getContentTransferEncoding (void) |
Data Fields | |
RealBlob | Body |
Str | Filename |
Str | Charset |
Str | ContentType |
bool | Html |
bool | Text |
bool | Image |
bool | Audio |
bool | Video |
bool | Application |
int | ContentTransferEncoding |
Working with Mail attachment
MailAttachment::MailAttachment | ( | void | ) |
RealBlob MailAttachment::Body |
Body of attachment
Charset
Content Type
File Name of attachment
Type of attachment