|
VMime
|
#include <messageParser.hpp>
Public Member Functions | |
| messageParser (const string &buffer) | |
| messageParser (shared_ptr< const message > msg) | |
| ~messageParser () | |
| const mailbox & | getExpeditor () const |
| const addressList & | getRecipients () const |
| const addressList & | getCopyRecipients () const |
| const addressList & | getBlindCopyRecipients () const |
| const text & | getSubject () const |
| const datetime & | getDate () const |
| size_t | getAttachmentCount () const |
| const shared_ptr< const attachment > | getAttachmentAt (const size_t pos) const |
| const std::vector< shared_ptr< const attachment > > | getAttachmentList () const |
| const std::vector< shared_ptr< const textPart > > | getTextPartList () const |
| size_t | getTextPartCount () const |
| const shared_ptr< const textPart > | getTextPartAt (const size_t pos) const |
A helper for parsing MIME messages.
| messageParser | ( | const string & | buffer | ) |
| messageParser | ( | shared_ptr< const message > | msg | ) |
| ~messageParser | ( | ) |
| const shared_ptr< const attachment > getAttachmentAt | ( | const size_t | pos | ) | const |
Return the attachment at the specified position.
| pos | position of the attachment |
| size_t getAttachmentCount | ( | ) | const |
Return the number of attachments in the message.
| const std::vector< shared_ptr< const attachment > > getAttachmentList | ( | ) | const |
Return the attachments of the message.
| const addressList & getBlindCopyRecipients | ( | ) | const |
Return the blind-copy recipients of the message (Bcc:).
| const addressList & getCopyRecipients | ( | ) | const |
Return the copy recipients of the message (Cc:).
| const datetime & getDate | ( | ) | const |
Return the date of the message.
| const mailbox & getExpeditor | ( | ) | const |
Return the expeditor of the message (From:).
| const addressList & getRecipients | ( | ) | const |
Return the recipients of the message (To:).
return recipients of the message
| const text & getSubject | ( | ) | const |
Return the subject of the message.
Return the text part at the specified position.
| pos | position of the text part |
| size_t getTextPartCount | ( | ) | const |
Return the number of text parts in the message.
| const std::vector< shared_ptr< const textPart > > getTextPartList | ( | ) | const |
Return the text parts of the message.