javamail time display coding
1 posts in topic
Flat View  Flat View

Posted By:   sarasah_guna
Posted On:   Wednesday, January 18, 2006 04:07 AM

if i want to display the time that the mail been send,
what the code to display out???

is it i need to connect my javamail application to the mail server. thank you.



Re: javamail time display coding

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, January 21, 2006 05:01 PM

If you mean, the time that you send out a message yourself, well you get your own java.util.Date and use it!

If you mean a message you've RECEIVED, email messages usually come with a "Date" header (though that depends on the sender having put the correct timestamp in it in the first place), and there are also "Received" headers added by intermediate servers, that you could read.

About | Sitemap | Contact