× 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.



SNDDST uses system value QUTCOFFSET to properly adjust the "Date:" header
when sending emails.

The JVM uses QLOCALE to set user.timezone.  You might try setting the
user.timezone manually using the -D parameter on your "java" command and see
if that fixes your problem.

HTH,
Gary



> -----Original Message-----
> From: java400-l-bounces@xxxxxxxxxxxx 
> [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of 
> Mandy.Shaw@xxxxxxxxxxxxxx
> Sent: Tuesday, August 12, 2003 12:25 AM
> To: java400-l@xxxxxxxxxxxx
> Subject: Sending emails from an AS/400 using Java - problem 
> with apparent time of sending
> 
> 
> Dear all
> 
> I am completely stumped by this.
> 
> I have a bit of code that both I and one of my customers use 
> for sending 
> spool files to Domino as emails in a nicely formatted manner 
> (using a MIME 
> HTML part).
> 
> It all works beautifully, except that the date that comes up 
> on the email 
> is always 11 hours early!
> 
> If I send an email into Domino using SNDDST this does not 
> happen - but 
> SNDDST won't do for this.
> 
> Same problem on V5R1 (me) and V5R2 (customer) and in JDK 1.3 (me) and 
> 1.1.8 (customer). I also get the same problem when I run the 
> same code on 
> Linux (sending to a non-Domino destination). There appears to 
> be nothing 
> in the code that is making any attempt to set a date/time, 
> and the log of 
> the conversation with the SMTP server shows the correct date/time.
> 
> It's definitely nothing to do with job dates.
> 
> Has anyone else come up against this? I can attach the 
> relevant bits of 
> the code if necessary.
> 
> Thanks
> 
> Mandy
> 
> 
> _______________________________________________
> This is the Java Programming on and around the iSeries / 
> AS400 (JAVA400-L) mailing list To post a message email: 
> JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change 
> list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 



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.