File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes simple code to send message was working fine, but.... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "simple code to send message was working fine, but...." Watch "simple code to send message was working fine, but...." New topic
Author

simple code to send message was working fine, but....

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I've been using code like that down below for over a year to send myself emails about various things I'd like to be notified about. I've got it spread onto Win XP, Win 2000 Server, and Red Hat Linux. All 3 machines report the correct date, but all of a sudden within the last few days, this code has started sending emails dated two days prior to the machine's date. Is it my ISP's mail server that's doing something weird? But when I use a regular email client (Mozilla Thunderbird) to send myself an email, the date is correct. What's going on?




Another weird thing is that I know that the String results that's supposed to get printed in the body is NOT empty, but it's not showing up in the email body! I've also tried this code, because it has worked for me just as well in the past:




Why would the date suddenly have changed in the last couple of days, and why are my results not getting printed in the email body all of a sudden???
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I called my ISP, and one of their servers' timestamping was off a bit! :roll: Ah, the joy of having a small ISP...service on call!
[ October 27, 2004: Message edited by: Stephen Huey ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: simple code to send message was working fine, but....
 
Similar Threads
send email with java.net.URL
JAVA MAIL
Reading HTML file
simple alternative to javamail for sending attachments on linux
issue when sending email with url openConnection