AttachmentList Event

Fired when an attachment is retrieved from the server.

Syntax

ANSI (Cross Platform)
virtual int FireAttachmentList(Office365AttachmentListEventParams *e);
typedef struct {
const char *Id;
const char *Name;
const char *ContentType;
const char *ContentLocation;
const char *ContentBytes; int lenContentBytes;
const char *ContentId;
const char *LastModifiedDateTime;
int IsInline;
int Size; int reserved; } Office365AttachmentListEventParams; Unicode (Windows) virtual INT FireAttachmentList(Office365AttachmentListEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR Name;
LPCWSTR ContentType;
LPCWSTR ContentLocation;
LPCSTR ContentBytes; INT lenContentBytes;
LPCWSTR ContentId;
LPCWSTR LastModifiedDateTime;
BOOL IsInline;
INT Size; INT reserved; } Office365AttachmentListEventParams;
- (void)onAttachmentList:(NSString*)id :(NSString*)name :(NSString*)contentType :(NSString*)contentLocation :(NSData*)contentBytes :(NSString*)contentId :(NSString*)lastModifiedDateTime :(BOOL)isInline :(int)size;
#define EID_OFFICE365_ATTACHMENTLIST 1

virtual INT CLOUDMAIL_CALL FireAttachmentList(LPSTR &lpszId, LPSTR &lpszName, LPSTR &lpszContentType, LPSTR &lpszContentLocation, LPSTR &lpContentBytes, INT &lenContentBytes, LPSTR &lpszContentId, LPSTR &lpszLastModifiedDateTime, BOOL &bIsInline, INT &iSize);

Remarks

The AttachmentList event is fired for each attachment retrieved from the server when ListAttachments is called.

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