CDONT and HTML email line wrap problem

Discussion in 'ASP General' started by Simon Wigzell, Jan 26, 2005.

  1. 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???
     
    Simon Wigzell, Jan 26, 2005
    #1
    1. Advertising

  2. Simon Wigzell

    Adrienne Guest

    Gazing into my crystal ball I observed "Simon Wigzell"
    <> writing in news:SHCJd.173004$6l.136708@pd7tw2no:

    > 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>

    --
    Adrienne Boswell
    http://www.cavalcade-of-coding.info
    Please respond to the group so others can share
     
    Adrienne, Jan 27, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. michaaal
    Replies:
    1
    Views:
    134
    Evertjan.
    Jul 9, 2003
  2. Mark

    CDONT-Autoresponder

    Mark, Jul 28, 2003, in forum: ASP General
    Replies:
    1
    Views:
    115
    Aaron Bertrand - MVP
    Jul 28, 2003
  3. Gonzosez

    cdont problem

    Gonzosez, Feb 6, 2004, in forum: ASP General
    Replies:
    1
    Views:
    106
    Ray at
    Feb 6, 2004
  4. Harvey Waxman

    CDONT to CDO

    Harvey Waxman, Feb 28, 2004, in forum: ASP General
    Replies:
    9
    Views:
    165
    Aaron Bertrand [MVP]
    Apr 15, 2004
  5. Rajiv

    email using CDONT component

    Rajiv, Apr 12, 2005, in forum: ASP General
    Replies:
    1
    Views:
    118
    Adam Short
    Apr 13, 2005
Loading...

Share This Page