Hi,
I am able to convert to email to pdf but at the same time i want to change the timezone of email.
Could you please help me, Thanks in advance
Regard’s
Ramesh
Hi,
I am able to convert to email to pdf but at the same time i want to change the timezone of email.
Could you please help me, Thanks in advance
Regard’s
Ramesh
@velpukondaramesh,
Thank you for the query. You can change the timezone of emails for your purposes as below:
// mailMessage is MailMessage instance
mailMessage.setTimeZoneOffset(5 * 60 * 60 * 1000); // timezone offset is 5 hours
More examples: Loading and Saving Message
API Reference: setTimeZoneOffset method