What string do I pass to SimpleDateFormat to format the message date to spec - getSentDate() method of Message?

John Zukowski

There is no need to create a custom DateFormat. The MailDateFormat class found in the javax.mail.internet handles all this for you. It formats and parses the date based on the draft-ietf-drums-msg-fmt-08 dated January 26, 2000. This is a followup spec to RFC-822.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact