|
-
Nov 29th, 2004, 02:47 AM
#1
Thread Starter
Hyperactive Member
Exclamation mark appearing in email body
I am using system.web.mail to send an email from a web page.
Now and again I am getting random characters in the message body, especially exclamation marks (!)
How can I prevent this from happening?
Thanks
-
Nov 29th, 2004, 05:56 AM
#2
Retired VBF Adm1nistrator
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Nov 29th, 2004, 08:52 AM
#3
Thread Starter
Hyperactive Member
Of course, every time.
Hasn't it got something to do with the Encoding type...?
-
Dec 16th, 2004, 07:53 AM
#4
New Member
Re: Exclamation mark appearing in email body
Hi,
Did you ever get any answer/resolution to this as we have just experienced the same problem - and the location of the inserted ! is really odd - as it appears right in the middle of a line of code, and splits the word image in 2......
<td height="73" colspan="3" bgcolor="#ffffff" align="left" valign="top"><img src="http://www.re-consider.co.uk/image!
!
s/email/wcl_xmascopy.gif" width="414" height="73" alt="Merry Christmas and a Happy New Year from everyone at WCL" border="0"></td>
If it is encoding we are using:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Hope someone can shed some light on this?
Phil
-
Sep 13th, 2005, 03:41 PM
#5
New Member
Re: Exclamation mark appearing in email body
I am in same trouble. If you know the solution please post it.
I really appreciate your help.
Thanks
Hari
-
Oct 4th, 2005, 04:29 AM
#6
New Member
Re: Exclamation mark appearing in email body
The reason why Exclaimation marks are appearing in random places is because some email gets a bit funny when the html code has lines with more than 512 characters, Break up you html code into smaller lines and the problem should go.
-
Jul 26th, 2010, 08:38 PM
#7
New Member
Re: Exclamation mark appearing in email body
Yes, try seperating any long strings with a vbNewLine
-
Jul 27th, 2010, 01:24 AM
#8
Re: Exclamation mark appearing in email body
hazz, welcome to the forums!!
Also your contribution to the forums is more than welcome, you have just into a thread that is almost 5 years old. I am hoping that the OP has found the answer that they were looking for a long time ago!!
What I am trying to say is, there really isn't much call for posting into a thread that is this old.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|