Sending emails with unwanted characters appearing

  • Thread starter Thread starter DavidW
  • Start date Start date
D

DavidW

I have written code using System.Web.Mail.MailMessage.
Everything works fine - I send out an email. But the
emails end up with "! " stuck in them. It appears to be
an end of line problem but I haven't been able to
eliminate it. It shows up every 900-1000 charcters or so
(counting everything including html characters). I have
tried using different encoding types but that just moves
the "! " to different places. And every once in a while,
a browser seems to have no problems with the email.

Any Ideas?

Thanks
DavidW
 
Hi

I did a very simple program that sends a message just to try helping you, using just the normal properties(to,from,body and subject; smtpserver) just this, I put over 7008 characters, and sended it to mylself. No strange characteres is showing. I had no problem with this

I do not have sure but if you do the same of me and the problem still, maybe is you smtp server that can do somthing with your message before sending it. Try to use other smpt server

Hope that helps

ltt19
 
Back
Top