Qore MailMessage Module Reference: MailMessage::Part Class Reference

Qore MailMessage Module Reference 1.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | List of all members
MailMessage::Part Class Reference

class representing a MIME part of a Message More...

Inheritance diagram for MailMessage::Part:
[legend]

## Public Member Functions
| add (MultiPartMixedMessage mpm)
| adds itself to a multipart/mixed message
data | getData ()
| returns the data of the Part
*hash | getHeaders ()
| returns any headers for the Part
string | getMime ()
| returns the mime type of the Part
string | getName ()
| returns the name of the Part
string | getTransferEncoding ()
| returns the transfer encoding of the Part

## Detailed Description

class representing a MIME part of a Message

this class wraps all the data for the Part, including:

- the part's name if any is known or can be derived
- the mime type of the Part (ex: MimeTypeJpeg ie `"image/jpeg"`)
- the data for the Part; either binary object or as a string
- the encoding type for the attachment