MessagePart Event

Fired when a message part is retrieved from the server.

Syntax

ANSI (Cross Platform)
virtual int FireMessagePart(GMailMessagePartEventParams *e);
typedef struct {
const char *Id;
const char *AttachmentId;
const char *Filename;
const char *ContentType;
int Size;
const char *Data; int reserved; } GMailMessagePartEventParams; Unicode (Windows) virtual INT FireMessagePart(GMailMessagePartEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR AttachmentId;
LPCWSTR Filename;
LPCWSTR ContentType;
INT Size;
LPCWSTR Data; INT reserved; } GMailMessagePartEventParams;
- (void)onMessagePart:(NSString*)id :(NSString*)attachmentId :(NSString*)filename :(NSString*)contentType :(int)size :(NSString*)data;
#define EID_GMAIL_MESSAGEPART 5

virtual INT CLOUDMAIL_CALL FireMessagePart(LPSTR &lpszId, LPSTR &lpszAttachmentId, LPSTR &lpszFilename, LPSTR &lpszContentType, INT &iSize, LPSTR &lpszData);

Remarks

The MessagePartList event is fired for each message part 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]