MessageInfo Event

Fired when a message is retrieved from the server.

Syntax

ANSI (Cross Platform)
virtual int FireMessageInfo(GMailMessageInfoEventParams *e);
typedef struct {
const char *Id;
const char *ThreadId;
const char *HistoryId;
const char *InternalDate;
const char *Subject;
const char *Labels;
const char *From;
const char *SentTo;
const char *Cc;
const char *Bcc;
const char *Snippet;
int Size; int reserved; } GMailMessageInfoEventParams; Unicode (Windows) virtual INT FireMessageInfo(GMailMessageInfoEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR ThreadId;
LPCWSTR HistoryId;
LPCWSTR InternalDate;
LPCWSTR Subject;
LPCWSTR Labels;
LPCWSTR From;
LPCWSTR SentTo;
LPCWSTR Cc;
LPCWSTR Bcc;
LPCWSTR Snippet;
INT Size; INT reserved; } GMailMessageInfoEventParams;
- (void)onMessageInfo:(NSString*)id :(NSString*)threadId :(NSString*)historyId :(NSString*)internalDate :(NSString*)subject :(NSString*)labels :(NSString*)from :(NSString*)sentTo :(NSString*)cc :(NSString*)bcc :(NSString*)snippet :(int)size;
#define EID_GMAIL_MESSAGEINFO 4

virtual INT CLOUDMAIL_CALL FireMessageInfo(LPSTR &lpszId, LPSTR &lpszThreadId, LPSTR &lpszHistoryId, LPSTR &lpszInternalDate, LPSTR &lpszSubject, LPSTR &lpszLabels, LPSTR &lpszFrom, LPSTR &lpszSentTo, LPSTR &lpszCc, LPSTR &lpszBcc, LPSTR &lpszSnippet, INT &iSize);

Remarks

The MessageList event is fired for each folder retrieved from the server when ListMessages or ListDrafts is called.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 C++ Edition - Version 20.0 [Build 8308]