469,954 Members | 1,876 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,954 developers. It's quick & easy.

Message Sent using System.Web.Mail.SmtpMail displays incorrect dat

I'm using the smtpmail class (Framework 1.0) to send email via an outside
server. The code used is pretty straightforward.

I declare a MailMessage with a body, a to, from, and an attachment. Then i
declare an smtpMail object and specify a smtp server, then use the Send
method do the sending.

Everything works fine EXCEPT, the Sent Date on the email when it is
recieved is being interpreted incorrectly.

In the e-mail headers of the message sent using SmtpMail the date sent is
shown as :

Wed. 17 11 4 10:38:46 (When i'm expecting to see something along the lines
of Wed. Nov. 17, 2004 09:30 )

The client interprets this as January 17th, 2011.

Ive checked all of the Regional settings on the clients (outlook) and
servers (Exchange) and have made sure everything is sent to my local
formatting (US English), everything seems ok.

Is there some property or setting i am missing?

Thanks in advance
Nov 21 '05 #1
0 684

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Martin | last post: by
1 post views Thread by David Dvali | last post: by
4 posts views Thread by mamatha | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.