ReturnPath Property
Sets the Return-Path to be used for sending email.
Syntax
ANSI (Cross Platform) char* GetReturnPath();
int SetReturnPath(const char* lpszReturnPath); Unicode (Windows) LPWSTR GetReturnPath();
INT SetReturnPath(LPCWSTR lpszReturnPath);
@property (nonatomic,readwrite,assign,getter=returnPath,setter=setReturnPath:) NSString* returnPath; - (NSString*)returnPath; - (void)setReturnPath:(NSString*)newReturnPath;
#define PID_SMTP_RETURNPATH 39 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Setting this property sets the Return-Path to be used for sending email. If this is not set, the value in the From property is used.
Data Type
String