1mail::ACCOUNT::getMesmsaaigle:C:oAnCtCeOnUtNDTecSoymdnaecidhl(r:3o:xnA)oCuCsOUANPTI::rgeefteMreesnscaegeContentDecoded(3x)
2
3
4

NAME

6       mail::ACCOUNT::getMessageContentDecoded - Read message content
7

SYNOPSIS

9       #include <libmail/sync.H>
10
11
12       class myStoreCallback : public mail::ACCOUNT::Store {
13
14       public:
15           void search(size_t messageNumber, std::string messageContents);
16       };
17
18       myStoreCallback storeCallback;
19
20       mail::ACCOUNT *mail;
21
22
23
24       bool  ok=mail->getMessageContentDecoded  (size_t messageNum, bool peek,
25       const mail::mimestruct &messagePart, storeCallback);
26
27       std::string errmsg=mail->getErrmsg();
28

USAGE

30       mail::ACCOUNT::getMessagesContentDecoded      is       similar       to
31       mail::ACCOUNT::getMessageContent(3x)  with  one key difference: quoted-
32       printable and base64 MIME content is automatically decoded.  storeCall‐
33       back's store method receives the decoded binary content.
34

RETURN CODES

36       This  method returns true if it succeeds, or false if it fails.  If the
37       method fails, use mail::ACCOUNT::getErrmsg() to read a  brief  descrip‐
38       tion of the error.
39

SEE ALSO

41       mail::ACCOUNT::getMessageContent(3x),    mail::ACCOUNT::getMessageEnve‐
42       lope(3x), mail::ACCOUNT::getMessageStructure(3x).
43
44
45
46                                 10mAapirli:l:A2C0C0O6UNT::getMessageContentDecoded(3x)
Impressum