Problem ASP/CDO Mail Error

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Problem ASP/CDO Mail Error

    Can somone please tell me how to write this correctly?
    I am trying to link directly back to the article using the recordset value.
    Thanks
    Speegs

    Microsoft VBScript compilation error '800a0401'


    Expected end of statement

    /comments_confirm.asp, line 43

    usxCDO.Body = "You had subscribed to receive an email notification when
    comments were posted to this blog topic.
    [url]http://147.211.110.6/articles_details.asp?id=&[/url]
    Recordset1.Fields.Item("aid").Value"



    Speegs Guest

  2. Similar Questions and Discussions

    1. mail.log error
      I get the following error when I try to view the mail.log. I'm running MX6.1. "Date" is an invalid date format. The error occurred in...
    2. Mail:Sender - HTML Mail with alternatives problem
      I'm trying to generate an HTML mail with text alternatives using the mail:sender module. As everybody can see below the message was created and...
    3. mail error
      I am using php 4 with apache in windows. I created a form in html with this code: <FORM method="POST" action="do_feedback.php"> <p>your name:...
    4. e-mail error
      pat jackson wrote: Contact the folks who run your mail server.
    5. error on e-mail
      0x800ccc6e I got the above error code/message from my computer when I tried to send e-mail after installing a router. I have the right...
  3. #2

    Default Re: Problem ASP/CDO Mail Error

    Try this:

    usxCDO.Body = "You had subscribed to receive an email notification when comments were posted to this blog topic. http://147.211.110.6/articles_details.asp?id=" & Recordset1.Fields.Item("aid").Value


    --
    Marja Ribbers-de Vroed

    Internet:
    - [url]www.webwaresystems.nl[/url]
    - [url]www.clubwebware.nl[/url]
    - [url]www.flevooware.nl/dreamweaver[/url]

    Marja Ribbers Guest

  4. #3

    Default Re: Problem ASP/CDO Mail Error

    Thanks for your help but still getting this message.

    Microsoft VBScript compilation error '800a0401'

    Expected end of statement

    /comments_confirm.asp, line 43

    usxCDO.Body = 3D "You had subscribed to receive an email notification = when
    comments were posted to this blog topic. =
    http://147.211.110.6/articles_details.asp?id=3D" &
    =Recordset1.Fields.Item("aid").Value



    Speegs Guest

  5. #4

    Default Re: Problem ASP/CDO Mail Error

    Have a look at my articles on the basics of VB Script:

    [url]http://www.charon.co.uk/content.aspx?CategoryID=27&ArticleID=30[/url]

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  6. #5

    Default Re: Problem ASP/CDO Mail Error

    Thanks Jules, that is very informative but I am still having trouble
    distinguishing where to use the quotes and when not to.

    usxCDO.Body = "You had subscribed to receive an email notification when
    comments were posted to this blog topic.
    [url]http://147.211.110.6/articles_details.asp?id=&[/url]
    Recordset1.Fields.Item("aid").Value"


    Speegs Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139