Message Sent time incorrect using javax mail

Posted by sword101 on Stack Overflow See other posts from Stack Overflow or by sword101
Published on 2010-06-16T11:23:41Z Indexed on 2010/06/16 11:32 UTC
Read the original article Hit count: 247

Filed under:
|

greetings all i have a problem that when sending an email from the server to the client using javax mail and set the sentDate to

message.setSentDate(new Date());

the email is sent in the server time and the client receive the email immediately with time 5 hours ago ???? how to fix this to send and receive in correct timing ?

© Stack Overflow or respective owner

Related posts about java

Related posts about javamail