The MailRequestAttachment function requests a non-local attachment to a service-linked message for download, if the service allows that.
BOOL MailRequestAttachment (HANDLE hMail, MailMsg * pmm, MailAtt * pma, BOOL bRetrieve);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 2.0 and later |
This function returns TRUE if the request is successful; FALSE otherwise. If a service does not allow individual download, the function returns FALSE also.
If the request is successful, download will be started next time when the mail client is connected to a server.
To get extended error information, use MailError or MailErrorMsg.