473,772 Members | 3,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BUG: Periods removed from img and a tags in msg body

When I generate an html email to send via SmtpMail, it will (apparently) randomly remove a period in the filename for some image and anchor tags, but not all

For example, in the email body, i may have an image
<img border="0" src="http://servername/filename.gif"
But it will be received in Outlook as
<img border="0" src="http://servername/filenamegif"
NOTE THE MISSING PERIOD IN THE FILENAME

The same thing can occur for an anchor tag (link). If it references "myfile.asp ", it may appear as "myfileasp" , again missing the period

This does not happen to all links or images. I can't figure out what the pattern is. There has been a notion that the firewall or proxy servers are performing this as a "feature", but I don't know where to look to try validate this. Help!
Nov 20 '05 #1
2 1263
I've never seen this. I could be a proxy or mail server doing this, but
it's unlikely.

Have you tried URLEncode'ing the src attribute?
--
CharlieN
VSU

This posting is provided "AS IS" with no warranties, and confers no rights.

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
Thread-Topic: Periods removed from img and a tags in msg body
thread-index: AcQBWY/LmZaAXcSYSJiLXe lqkEi+Fw==
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb
From: "=?Utf-8?B?Sm9obiBCdWV sbA==?=" <jo**********@i ntel.com.REMOVE _THIS_TO_SEND> Subject: BUG: Periods removed from img and a tags in msg body
Date: Wed, 3 Mar 2004 11:56:05 -0800
Lines: 11
Message-ID: <BC************ *************** *******@microso ft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.publi c.dotnet.langua ges.vb
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:186288
NNTP-Posting-Host: tk2msftcmty1.ph x.gbl 10.40.1.180
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb

When I generate an html email to send via SmtpMail, it will (apparently) randomly remove a period in the filename for some image and anchor tags,
but not all!

For example, in the email body, i may have an image:
<img border="0" src="http://servername/filename.gif">
But it will be received in Outlook as:
<img border="0" src="http://servername/filenamegif">
NOTE THE MISSING PERIOD IN THE FILENAME!

The same thing can occur for an anchor tag (link). If it references
"myfile.asp ", it may appear as "myfileasp" , again missing the period.

This does not happen to all links or images. I can't figure out what the
pattern is. There has been a notion that the firewall or proxy servers are
performing this as a "feature", but I don't know where to look to try
validate this. Help!


Nov 20 '05 #2
I have now tried URLEncode, but it seems that Outlook can't interpret the encoding (%2E for periods) and won't properly locate and display the image.
Nov 20 '05 #3

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

Similar topics

7
2208
by: delerious | last post by:
I just found a bug that's related to positioning in IE 5.5 (could someone please tell me if this bug exists in IE 6, and if so, if my solution works in that browser?). I don't know if this bug has been reported before, but here it is, and its solution, in case anyone else runs into it. On the following page there is a box (DIV) that contains six anchors. The anchors have a style of display:block, so you should be able to move the mouse...
0
2287
by: The Master | last post by:
Ok I went through and deleted code until I discovered the culprit. I then went back to my original style sheet and removed the CSS declaration that caused the floating to brake in safari 1.2. Once I removed it, the floating worked as expected in safari, but broke it in opera 7.5. The interesting part is the style declaration that causes safari to brake is the declaration I had used to fix the bug in Opera 7.5 originally. As far as I...
8
4204
by: Joseph | last post by:
I have a textBox that people writes stories in it. They can use for format. I have Aspell installed on the server, so people can make correction to their text. Sometimes, they forget to add a space after a period. So Aspell reads the last word of a sentence and the first word of the next sentence as a single world, which gives an error, word not found. Before sending the text to Aspell, i add a space after all the periods with:
15
2199
by: 50295 | last post by:
Hi everyone, This one is better experienced than explained, so I'm including a code sample below. Please and save (as an html file) and view with NN or Firefox (or maybe even Mozilla), and then view. When loaded: (1.) Place the mouse over "Top Menu" item. (The menu opens) (2.) Move to any of the sub-menu items. (3.) Click on the left or right (but NOT on the text) of the current
3
1819
by: Simon Knox | last post by:
Hi I have come across an apparant bug while using SmtpMail. The problem I have is that if a MailAttachment has a line in it that starts with a fullstop ( or period for those of you that speak American english ) then the fullstop is removed. This is an example of how I am using SmtpMail and MailMessage: MailMessage mail = new MailMessage(); mail.From = "from@test.com"; mail.To ="to@test.com";
2
1325
by: boy | last post by:
Hi all, I have created a simple template class as follow, but i encountered memory leakage on the base.Render(writer). Have all you of encountered the same problem? using System; using System.Web.UI; public class PageBase : System.Web.UI.Page {
13
1947
by: Richard | last post by:
Hi All, The ASPX file below runs fine in ASP .NET WebMatrix 0.6 under WinXP/SP2 with IIS 5.1 and .NET Framework 1.0, 1.1 and 2.0. But if the last scriptString line is eliminated after appending the closing ">" to the preceding line, the compiler flags that last line in the browser (Firefox 5.0) with the message: Compiler Error Message: CS1010: Newline in constant
12
2059
by: Juan T. Llibre | last post by:
re: !I found an MSDN document that explains why what I'm trying to do should work Lee, From : http://www.w3.org/TR/REC-xml/ "A special attribute named xml:lang may be inserted in documents to specify the
37
3678
by: Prisoner at War | last post by:
Actually, it doesn't have to be a blockquote...but I'm at my wits' end: I want to make bold several lines of text which have a pair of <br /tags between them...seems like the <b></bdo not "carry over" when there are <br /tags involved...??? I've tried using <p style="font-weight: bold;"></p>, I've tried <blockquote></blockquote>...I just can't figure how I'm supposed to get the <b></btags to work for all the lines! Surely there must be...
0
9454
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
10104
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9912
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
8934
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
6715
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.