Subject Property

The subject of the mail message (optional).

Syntax

ANSI (Cross Platform)
char* GetSubject();
int SetSubject(const char* lpszSubject); Unicode (Windows) LPWSTR GetSubject();
INT SetSubject(LPCWSTR lpszSubject);
@property (nonatomic,readwrite,assign,getter=subject,setter=setSubject:) NSString* subject;
- (NSString*)subject;
- (void)setSubject:(NSString*)newSubject;
#define PID_FILEMAILER_SUBJECT 47

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);

Default Value

""

Remarks

The string in this property is sent with a Subject SMTP header to the mail recipient.

If the resulting header is longer than MaxHeaderLength, then it is folded according to RFC 822 specifications.

Data Type

String

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