AttachmentName Property
This property contains the name of the attachment to be sent.
Syntax
ANSI (Cross Platform) char* GetAttachmentName(int iAttachmentIndex);
int SetAttachmentName(int iAttachmentIndex, const char* lpszAttachmentName); Unicode (Windows) LPWSTR GetAttachmentName(INT iAttachmentIndex);
INT SetAttachmentName(INT iAttachmentIndex, LPCWSTR lpszAttachmentName);
- (NSString*)attachmentName:(int)attachmentIndex; - (void)setAttachmentName:(int)attachmentIndex:(NSString*)newAttachmentName;
#define PID_SHTMLMAILER_ATTACHMENTNAME 3 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
This property contains the name of the attachment to be sent.
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