473,461 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Extra characters in Email using System.Web.Mail?

GSK
I'm using System.Web.Mail to send HTML formatted e-mails, and something very
bizarre is happening.

When I send a message to myself, it looks fine, but when my client sends one
to herself, she gets a single exclamation point inserted, usually in the
same spot but sometimes it shifts a place or two, within the text.

The message is about 13 lines, and it is only one character that gets
inserted, so I find this very strange. There is no ASCII that could be
mis-represented in the source, and I have re-entered the text a couple of
times.

For example, the line:

message.Body = "valid for 30 days";

appears in her e-mail as:

valid f! or 30 days

It is getting embedded in the source as I see it in the messages she returns
to me.

Has anyone seen anything like this? I can only guess that her mail client
(Outlook) is embedding the character, but why?
Nov 18 '05 #1
2 2334
Yes I have seen this before. I can't remember exactly how it manifested
itself but I had basically the same problem, outlook replacing some
characters. I seem to remember it had something to do with the outlook
trying to add in it's own formatting around relevant fields (subject,
from, to etc) although I can't be 100% sure.

This problem drove me mad for several days, and it was definitely
Outlook doing the reformatting. I suggest trying to send the same
message to a hotmail account to prove to your client that it is an
Outlook issue, I don't remember finding an appropriate fix for this!

Matt
"GSK" <gs*@NiOcSaP.nAeMt> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
I'm using System.Web.Mail to send HTML formatted e-mails, and something very bizarre is happening.

When I send a message to myself, it looks fine, but when my client sends one to herself, she gets a single exclamation point inserted, usually in the same spot but sometimes it shifts a place or two, within the text.

The message is about 13 lines, and it is only one character that gets
inserted, so I find this very strange. There is no ASCII that could be
mis-represented in the source, and I have re-entered the text a couple of times.

For example, the line:

message.Body = "valid for 30 days";

appears in her e-mail as:

valid f! or 30 days

It is getting embedded in the source as I see it in the messages she returns to me.

Has anyone seen anything like this? I can only guess that her mail client (Outlook) is embedding the character, but why?

Nov 18 '05 #2
GSK
Thanks Matt,

At least nice to know that I am not the only one who has seen this. I'll let
you know what I find (if anything).

- GSK
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ,hj | last post by:
From: ",hj" <webmaster@mail.com> Subject: Losing random characters in HTML email Date: 28 November 2003 17:21 I've narrowed down my code as much as I can so that I can show you this bug. The...
6
by: mike | last post by:
I have created a side application in VB.NET which reads rows from a DB and builds an email message. when i have a long string the the mailmessage.body or the mailmessage, it puts in an...
9
by: Neil Ginsberg | last post by:
I have a strange situation using Access to automate a Word mail merge. Using Access 2000 and Word 2000, the code opens Word, opens the document in Word, sets a table in the calling Access...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
11
by: santosh | last post by:
Hi, A book that I'm currently using notes that the fgets() function does not return until Return is pressed or an EOF or other error is encountered. It then at most (in the absence of...
3
by: majlandt | last post by:
I have the below function witch I use to send mail to reciptents on my maillist from an .asp side I am about to make a bounce back system - and would therefore like to make one extra MailHeader...
0
by: Hamayun Khan | last post by:
Salam Reading email from mailserver return some extra character like 3D =20 = following is the mail body i read from mailserver through php code <HTML><HEAD>
3
by: anu b | last post by:
Hii I am using System.net.mail for sending email... i need to send a webpage with its html content as my email body .....for that i used mail.Isbodyhtml as true...but it is not working for me...
9
by: neovantage | last post by:
hey geeks, I have a small mail script which will cause a PHP script to send a receipt upon clicking the submit button, by an HTML mail. This mail contains special characters, namely 'å', 'ä' and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.