IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

MessageDate Property

Date of the mail message (optional).

Syntax

ANSI (Cross Platform)
char* GetMessageDate();
int SetMessageDate(const char* lpszMessageDate); Unicode (Windows) LPWSTR GetMessageDate();
INT SetMessageDate(LPCWSTR lpszMessageDate);
@property (nonatomic,readwrite,assign,getter=messageDate,setter=setMessageDate:) NSString* messageDate;
- (NSString*)messageDate;
- (void)setMessageDate:(NSString*)newMessageDate;
#define PID_PHTMLMAILER_MESSAGEDATE 36

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_PHTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_PHTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

"*"

Remarks

If this property contains a non-empty string, then a Date SMTP header is created and attached to the message. If it is an empty string, then the date information is added by the mail relay(s) the message goes through.

Special case: if this property is set to the special value "*", a Date SMTP header reflecting the current date and time is generated when MessageHeaders is computed and the message is sent. This is the default behavior of the class

RFC 822 contains detailed date format specifications. An example of a valid date is "Fri, 1 Mar 96 21:24:52 EST".

This property is not available at design time.

Data Type

String

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