This function adds a message to a folder on a server.
Header file: | Msgstor2.h |
Platforms: | H/PC 3.0 |
Windows CE versions: | 2.10 and later |
BOOL TransportPut(HANDLE hService, LPWSTR szFolderID,
MailMsg *MsgPtr);
TRUE indicates success. FALSE indicates failure. To get extended error information, call the function TransportError or TransportErrorMsg.
The transport service provider must implement this function in a DLL registered as a mail service. The Inbox application can then load this DLL and call this function.
The transport DLL is responsible for initializing the szSvcId and szSvcNam members of MailMsg. The transport DLL is also responsible for copying attachments and non-Interpersonal Message (non-IPM) properties. These properties are listed in the oid member of MailMsg.