CDONT and HTML email line wrap problem

S

Simon Wigzell

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.mississippiprinting.com/MPCHomeOld.asp">
<img border="0"
src="http://www.mississippiprinting.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.mississippiprinting.com/MPCHomeOld.asp"><IMG=20
src=3D"http://www.mississippiprinting.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???
 
A

Adrienne

Gazing into my crystal ball I observed "Simon Wigzell"
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.mississippiprinting.com/MPCHomeOld.asp"> <img
border="0"
src="http://www.mississippiprinting.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.mississippiprinting.com/MPCHomeOld.asp"><IMG=20
src=3D"http://www.mississippiprinting.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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top