|
Qore MailMessage Module Reference
1.3.1
|
class representing a MIME Attachment for the Message More...

Public Member Functions | |
| constructor (string name, string mime, data data, string enc=EncDefault, *hash 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 | data, | ||
| string | enc = EncDefault, |
||
| *hash | 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 |
| 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 |