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.