AttachmentFile Property

This property contains the path of a file on your system that you would like to send as an attachment with your message.

Syntax

ANSI (Cross Platform)
char* GetAttachmentFile(int iAttachmentIndex);
int SetAttachmentFile(int iAttachmentIndex, const char* lpszAttachmentFile); Unicode (Windows) LPWSTR GetAttachmentFile(INT iAttachmentIndex);
INT SetAttachmentFile(INT iAttachmentIndex, LPCWSTR lpszAttachmentFile);
- (NSString*)attachmentFile:(int)attachmentIndex;
- (void)setAttachmentFile:(int)attachmentIndex:(NSString*)newAttachmentFile;
#define PID_FILEMAILER_ATTACHMENTFILE 2

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_FileMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_FileMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_FileMailer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the path of a file on your system that you would like to send as an attachment with your message.

The AttachmentIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttachmentCount property.

This property is not available at design time.

Data Type

String

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