Email Question -- SMTP Server, Win2000, Win2003

B

Burak

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top