UploadIMAPBlobMessage (open)

This function will send a message-blob to a IMAP-folder.

Syntax

LOADLIB "wh::internet/imap.whlib";

RECORD FUNCTION UploadIMAPBlobMessage(INTEGER connectionid, STRING foldername, BLOB message, DATETIME internaldate, STRING ARRAY flags)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING foldername

String name of the mail folder

BLOB message

Blob email message

DATETIME internaldate
STRING ARRAY flags

Return value

RECORD

Returns data of the message if uploaded successfully, DEFAULT RECORD otherwise