× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Keith --

I'm not sure what you mean by "Posting Date".  Your "Date:" header shows
the message was sent at 9:11:14 GMT which would be 10:11:14 BST.  Was
that the correct time of sending or was the message sent at 9:11:14 BST?
I suspect that the message was actually sent at 9:11:14 BST in which
case the date header is wrong.

After you set the date in the message, try a
  System.err.println(msg.getSentDate().toString())
and see if that shows the correct time zone.

I'm not sure what time zone is used for your AOL account but it's
possible that it could be wrong as well, compensating for the possible
error in your mail message.

Could you send your message from the 400 directly to me at
<garyp@firstech.com>.  That might help if you're still unable to figure
things out.

Thanks,
Gary

> -----Original Message-----
> From: java400-l-admin@midrange.com
> [mailto:java400-l-admin@midrange.com] On Behalf Of
> Keith_McCully@wunderman.co.uk
> Sent: Tuesday, August 06, 2002 2:16 AM
> To: java400-l@midrange.com
> Subject: RE: JavaMail API: SentDate problem
>
>
>
>
>
> Gary,
>
> Thanks for the reply.  Here are the actual message headers
> ................
>
> Field Name: $AdditionalHeaders
> Data Type: Text
> Data Length: 522 bytes
> Seq Num: 2
> Dup Item ID: 0
> Field Flags:
>
> "Received: from S44A2525.IMPIRIC.CO.UK ([152.146.128.22]) by
> wokgbpln01.wcj.co.uk (Lotus SMTP MTA v4.6.7  (934.1
> 12-30-1999)) with SMTP id 80256C0D.002FFE33; Tue, 6 Aug 2002
> 09:44:12 +0100
> Message-ID:
> <-1237866248.1028625079793.JavaMail.MCCULLK@S44A2525.IMPIRIC.CO.UK>
> Date: Tue, 6 Aug 2002 09:11:14 +0000 (GMT)
> From: keith_mccully@wunderman.co.uk
> To: keith_mccully@wunderman.co.uk
> Subject: This is the Subject
> Mime-Version: 1.0
> Content-Type: multipart/mixed;
> boundary="----=_Part_0_-1238131864.1028625076216"
>  "
>
> I can confirm that the time of 09:11:14 shown above is
> actually correct but when I view it thru Lotus Notes Mail
> client the time is 1 hour ahead @ 10:11:14 (which is the same
> time as shown on the "Posted Date" field.)
>
> Also, I sent the same message to my AOL mailbox and there the
> time was shown correctly. So it seems that JavaMail is
> working OK and the incorrect time is set on the receiving
> mail server from the "Posting Date"?
>
> Regards,
>
> Keith



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.