MessageInfo Event

Fired with information for the message(s) retrieved by the server.

Syntax

ANSI (Cross Platform)
virtual int FireMessageInfo(IMAPMessageInfoEventParams *e);
typedef struct {
const char *MessageId;
const char *Subject;
const char *MessageDate;
const char *From;
const char *Flags;
int64 Size; int reserved; } IMAPMessageInfoEventParams; Unicode (Windows) virtual INT FireMessageInfo(IMAPMessageInfoEventParams *e);
typedef struct {
LPCWSTR MessageId;
LPCWSTR Subject;
LPCWSTR MessageDate;
LPCWSTR From;
LPCWSTR Flags;
LONG64 Size; INT reserved; } IMAPMessageInfoEventParams;
- (void)onMessageInfo:(NSString*)messageId :(NSString*)subject :(NSString*)messageDate :(NSString*)from :(NSString*)flags :(long long)size;
#define EID_IMAP_MESSAGEINFO 8

virtual INT IPWORKSEDI_CALL FireMessageInfo(LPSTR &lpszMessageId, LPSTR &lpszSubject, LPSTR &lpszMessageDate, LPSTR &lpszFrom, LPSTR &lpszFlags, LONG64 &lSize);

Remarks

The MessageInfo event is fired when messages are searched, listed, or message information is received.

Id is the Id of the message.

Subject is the message subject.

MessageDate is the date of the message.

From is the email address of the sender.

Flags is a list of flags associated with this message.

Size is the size of the message.

More information may be received from the respective properties, such as: MessageContentType, MessageContentEncoding, MessageRecipients, MessageDeliveryTime, MessageFlags, MessageHeaders, MessageInReplyTo, MessageNetId, MessageReplyTo, MessageSender, MessageSize, MessageSubject, MessageText, etc.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]