CDO.Message / double dots at beginning of a line [Answered]RSS

6 replies

Last post Nov 14, 2009 01:24 AM by qbernard

  • CDO.Message / double dots at beginning of a line

    Nov 09, 2009 11:57 AM|alberich123|LINK


    CDO.Message is used on w2K3 Server to send HTML-eMails. All works fine, but CDO.Message fails to mask dots at the beginning of the line by doubling them. This cracks some larger links.

    Example: The image reference
    ************************************
    <IMG border=0 src="http://www.somesitexy.com/banner/468%20x%2060/hieristeinbildchen12.jpg"><br>
    /************************************
    appears in the .eml file (in mailroot\pickup) as follows
    ************************************
    <IMG border=3D0=20
    src="http://www.somesitexy.com/banner/468%20x%2060/hieristeinbildchen12=
    .jpg">
    /************************************

    as the single dot at the beginning of a line has a special meaning, it should be masked. After being processed by w2K3 Server's SMTP service, the link wont work anymore:
    ************************************
    <IMG border=0
    src="http://www.somesitexy.com/banner/468%20x%2060/hieristeinbildchen12jpg">
    /************************************

    any help?

  • Re: CDO.Message / double dots at beginning of a line

    Nov 10, 2009 02:45 AM|qbernard|LINK

    Mmm.. not sure. but only see this in w2k :)
    Periods at the beginning of a line are removed when placed into the SMTP Pickup directory
    http://support.microsoft.com/?id=286358
    Cheers,
    Bernard Cheah
  • Re: CDO.Message / double dots at beginning of a line

    Nov 10, 2009 07:33 AM|alberich123|LINK

    Yesss - thats why i'm wondering why CDO.Message didnt put a second period at the line's beginning.
    Thats what it needs to work properly.
    I cant do this "from outside", because i dont know where CDO.Message puts its line breaks.
    I tried doubling all periods, but this ruins all "other" links.

  • Re: CDO.Message / double dots at beginning of a line

    Nov 10, 2009 11:58 AM|alberich123|LINK

    I've just checked the Metabase.xml file, there is no key called DisablePickupDotStuff

    As expected, because it's IIS6 (W2K3).

    :-(

  • Re: CDO.Message / double dots at beginning of a line

    Nov 11, 2009 03:23 AM|qbernard|LINK

    You can try this .. apparently it is in w2k3 also :)
    http://support.microsoft.com/kb/922035

    Cheers,
    Bernard Cheah
  • Re: CDO.Message / double dots at beginning of a line

    Nov 12, 2009 09:05 AM|alberich123|LINK

    With Metabase Explorer i created SMTPDotStuffPickupDirFiles with a value of 1, now the CDO.Message stuff works fine.

    Now iis6 is adjusted to work with 'old CDO.Message used in our .asp code - newer mail components (for example .net's MailMessage) will assumedly put this two periods at the line's beginning, am i right?

    thanks

    Holger

  • Re: CDO.Message / double dots at beginning of a line

    Nov 14, 2009 01:24 AM|qbernard|LINK

    Not sure, but I think this is more related to CDO, I have yet to see similar behavior from other components.

    You can always test it :)

    Cheers,
    Bernard Cheah