473,804 Members | 3,953 Online
Bytes | Software Development & Data Engineering Community
+ 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 2355
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.nA eMt> wrote in message
news:uK******** ******@tk2msftn gp13.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
3927
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 reason the a's are there and not removed is because if I remove them the problem doesn't show itself. It seems that there is a pattern and the nth character does not show. Weird stuff.
6
3483
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 "!<linefeed><space>" at about every 980th space. I have confirmed that these characters are not in the string or the message body before the email is sent. Has anyone seen this or have any thoughts? Thanks
9
4330
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 application as the data source, and then performs a merge. Everything works fine. However, when a user uses it in Access 2002 and Word 2002, an extra instance of the Access application is opened and remains open at the end. Sometimes it remains open
2
9245
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 - I see hebrew, it is just sending by myself using *.aspx scripts). In web.config I have the following : <configuration> <system.web>
11
3671
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 EOF/error), returns n-1 characters plus a appended null character.
3
12123
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 witch my bounce back system can take out - But I have no luck with adding the extra header ----------------------------------------- Sub sendmail 'Dimension variables
0
1549
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
7245
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 so pls help me....
9
8257
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 'ö'. Whatever I try, I can't get these characters to display properly everywhere. In some email clients, these characters show up just fine, whereas in others they show up as question marks or kinda boxes. I've tried sending the mail as UTF-8, as...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9582
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10580
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9157
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6854
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3821
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.