473,703 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONT and HTML email line wrap problem

I send HTML formatted emails with links and images in them generated by my
asp driven website. Occasionally the image will not appear and the link will
not work. By looking at the email at the receive end, (right
click/properties/details/message source, this is what I sent:

<p align="center" style="margin-top: 0; margin-bottom: 0"><a
href="http://www.mississippi printing.com/MPCHomeOld.asp" >
<img border="0"
src="http://www.mississippi printing.com/images/Mississippi-Printing-small-logo.gif"></a></p>
</body>
</html>

This is what outlook has:

<P style=3D"MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" align=3Dcenter> <A=20
href=3D"http://www.mississippi printing.com/MPCHomeOld.asp" ><IMG=20
src=3D"http://www.mississippi printing.com/Mississippi-Printing-small-logo=
gif"=20
border=3D0 NOSEND=3D"1"></A></P></BODY></HTML>

The email has added "3D" before any double quotes and wrapped at either the
nearest space before 70 characters or the 70th character, which in this case
is the period in the ".gif" part of the image, so the net result is the
image won't show in the email. It indicates the wrap with an = character
with a 20 after it if it found a space to wrap after.

Other than having a shorter domain name and shorter image names, is there
any way in CDONT to define the wrap number of characters to something
greater than 70???

Reminds of old Fortran 77 which was based on punch cards, it too would need
to wrap after 70 characters. Don't tell me email is based on punch cards???

Jul 22 '05 #1
1 2220
Gazing into my crystal ball I observed "Simon Wigzell"
<si**********@s haw.ca> writing in news:SHCJd.1730 04$6l.136708@pd 7tw2no:
I send HTML formatted emails with links and images in them generated by
my asp driven website. Occasionally the image will not appear and the
link will not work. By looking at the email at the receive end, (right
click/properties/details/message source, this is what I sent:

<p align="center" style="margin-top: 0; margin-bottom: 0"><a
href="http://www.mississippi printing.com/MPCHomeOld.asp" > <img
border="0"
src="http://www.mississippi printing.com/images/Mississippi-Printing-smal
l -logo.gif"></a></p> </body> </html>

This is what outlook has:

<P style=3D"MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px" align=3Dcenter> <A=20
href=3D"http://www.mississippi printing.com/MPCHomeOld.asp" ><IMG=20
src=3D"http://www.mississippi printing.com/Mississippi-Printing-small-log
o
= gif"=20 border=3D0 NOSEND=3D"1"></A></P></BODY></HTML>

The email has added "3D" before any double quotes and wrapped at either
the nearest space before 70 characters or the 70th character, which in
this case is the period in the ".gif" part of the image, so the net
result is the image won't show in the email. It indicates the wrap with
an = character with a 20 after it if it found a space to wrap after.

Other than having a shorter domain name and shorter image names, is
there any way in CDONT to define the wrap number of characters to
something greater than 70???

Reminds of old Fortran 77 which was based on punch cards, it too would
need to wrap after 70 characters. Don't tell me email is based on punch
cards???


Actually, it's probably dependent on the email client. You may want to
think about using smaller image names. You should also think about taking
any presentational markup or presentational attributes out. Use the style
element in the head area, and put presentational stuff in there, eg:
<style type="text/css">
img {border:0}
p {text-align: center; margin-top:0; margin-bottom:0;}
</style>
</head>

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #2

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

Similar topics

1
1705
by: Simon Wigzell | last post by:
I'm generating HTML formatted emails in my asp program using CDONT. Depending on hoow ling the link is it will sometimes wrap and ruin the link. The is Detail email properties listing : ------=_NextPart_000_0314_01C418C2.90C5F130 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit At your request, we have created a webpage message for you: here...
2
1581
by: Rajiv | last post by:
hi all , i have to send the mail to all the employees of the company , e-mail address is stored in a table . i m using cdont component to send the mail , what are the basic requirement of cdont how to install cdont on server 2000 and is it necessary that smtp server
11
2992
by: Simon Wigzell | last post by:
My website sends automatic emails from many (25) different places. I want to send a second email by reading the parameters of the first one. I don't want to have to repeat and maintain the assignment of the second email From,To,Subject fields so I am just using an include at each point in the code where I send an email: Set MyCDONTSMail = CreateObject("CDONTS.NewMail") MyCDONTSMail.BodyFormat= 0 MyCDONTSMail.MailFormat= 1...
40
5596
by: VK | last post by:
Hi, After the response on my request from W3C I'm still unclear about Tidy vs. Validator discrepansies. That started with <IFRAME> issue, but there is more as I know. Anyway, this very basic HTML page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html401/strict.dtd"> <html> <head>
0
2257
by: afaichun | last post by:
Hi folks, I encounter an problem when my asp page send an email with html body. I successfully receive the mail and most of the contents are correctly displayed except some html tag is broken and is displayed in the html page. I captured the html source of the email content and pasted it into notepad (without word wrap). I realized the tag is broken up into separate line (e.g. "<" is on the first line and "td>" is on the second line), which I...
7
3270
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑ http://xahlee.org/
14
17977
by: ghostwalker | last post by:
Hi I have an HTML form with a textarea on it. When submitted (using 'get' not 'post') this forms action php file simply does this to retrieve the values: $message = $_GET; Now it all works fine but I get the string in one long string with no '\n' where the user pressed 'return key'
4
2932
cassbiz
by: cassbiz | last post by:
Could use some help here. This script is carrying over an image just fine but the text isn't coming over. can you see why it is not working???? from the form I want to carry over two lines of text and I can't find the error on why it isn't working. Any help is greatly appreciated. Here is the form
1
7735
by: praveenb000 | last post by:
Hi every one, I designed a web page, having horizontal menu using UL and LI tags; I need to be set rollover effect for a menu items. whenever user hover on a menu item, the entire item(including anchor tag text) has to change to another color, but since iam using anchor tag in LI tag, the text in the menu item is not changing color when i hover on the menu item(LI). (but changing color when i hover on the anchor tag Text). But i...
0
8672
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
9123
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...
1
9017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7876
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...
1
6594
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4434
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...
0
4689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2462
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2070
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.