Qore MailMessage Module Reference 1.3.3
|
class representing a MIME Attachment for the Message More...
#include <MailMessage.qm.dox.h>
Public Member Methods | |
add (MultiPartMixedMessage mpm) | |
adds itself to a multipart/mixed message | |
constructor (string name, string mime, data part_data, string enc=EncBase64, *hash< auto > hdr) | |
creates an Attachment object for a Message object More... | |
class representing a MIME Attachment for the Message
this class wraps all the data for the attachment, including:
"image/jpeg"
)MailMessage::Attachment::constructor | ( | string | name, |
string | mime, | ||
data | part_data, | ||
string | enc = EncBase64 , |
||
*hash< auto > | hdr | ||
) |
creates an Attachment object for a Message object
name | the name of the attachment to be displayed in the message, normally a file name without any path |
mime | the mime type for the message |
part_data | the attachment data itself |
enc | the encoding type for the message (see Message Encodings for possible values) |
hdr | optional headers for the MIME part for the attachment |
UNKNOWN-ENCODING | the message encoding value passed is unknown/unimplemented |
INVALID-ENCODING | the encoding given cannot be used with data given |