Attachment Property

Provides the raw attachment content.

Syntax

ANSI (Cross Platform)
int GetAttachment(char* &lpAttachment, int &lenAttachment);

Unicode (Windows)
INT GetAttachment(LPSTR &lpAttachment, INT &lenAttachment);
@property (nonatomic,readonly,assign,getter=attachment) NSString* attachment;
- (NSString*)attachment;

@property (nonatomic,readonly,assign,getter=attachmentB) NSData* attachmentB; - (NSData*)attachmentB;
#define PID_GMAIL_ATTACHMENT 1

CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_GMail_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

This property is populated after calling FetchAttachment and holds the raw attachment content. This can be used to access the data before any processing is done by the class.

This property is read-only and not available at design time.

Data Type

Binary String

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