eMail - funny characters

  • Thread starter Thread starter Ramon
  • Start date Start date
R

Ramon

I send email using ASP.NET using SMTP like this:

objMailMessage.From = New System.Net.Mail.MailAddress(strYourEmail)

objMailMessage.To.Add([email protected])

objMailMessage.Subject = "Title"

objMailMessage.Body = "Message"

objMailMessage.IsBodyHtml = False

smtp.Send(objMailMessage)

I get the email and all accents are funny characters.

Suggestion to avoid the funny characters?

txs for answering....
 
You would typically encode them.

Search on smtp and encode at google.

You can also manually replace the strings
with the proper encoding yourself.
 
Set the BodyEncoding property to some encoding that supports the characters.
 

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

Back
Top