Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Email Question -- SMTP Server, Win2000, Win2003

Reply
Thread Tools

Email Question -- SMTP Server, Win2000, Win2003

 
 
Burak
Guest
Posts: n/a
 
      12-09-2003
Hello,

I am using SMTP mail to send emails. I ran the aspx page from my
local machine,which is running Windows 2000, and sent an email to my
yahoo account. I then checked my yahoo account and the email looked
good.

When I ran the same page from the development server, which is
running windows 2003, I saw "! " (hyphen and space) appear in the
email. I tested it couple of times and it appeared at different
locations, but was always present.

ex: The word "Information" appearad as
"Inf! ormation"

Have you encontered this before?

My code is at the bottom.

Thank you,

Burak

Dim flag As Boolean
Dim Message As System.Web.Mail.MailMessage = New
System.Web.Mail.MailMessage
Message.To = to_add
Message.From = from_add
If cc > "" Then
Message.Cc = cc
End If
If cc > "" Then
Message.Bcc = bcc
End If

Message.Subject = subject
Message.Body = body_text
Message.BodyFormat = MailFormat.Html

flag = False

Try
SmtpMail.SmtpServer "mail.dev.jobsforveterans.org"
SmtpMail.Send(Message)
flag = True
Catch ehttp As System.Web.HttpException
Console.WriteLine("0", ehttp.Message)
Console.WriteLine("Here is the full error message")
Console.Write("0", ehttp.ToString())
flag = False
End Try
Return flag
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send email programmatically from a gmail email a/c when port587(smtp) is blocked ashish makani Python 5 09-20-2012 07:56 AM
Promote Win2003 R2 in infraestructure Win2003 SP1 =?Utf-8?B?SWdvciBSb2RyaWd1ZXM=?= MCSE 3 06-20-2007 03:50 AM
Sending SMTP mail when SMTP server is unavailable matthewjbarr@gmail.com Java 3 01-24-2006 06:53 PM
sending of mail (smtp) - connection refused - but smtp server isrunning! Alex Hunsley Python 4 06-29-2004 04:30 PM
Free win2003 server guide and free smtp server software! JP Mc Books MCSE 0 09-06-2003 01:18 AM



Advertisments