Help with Mail Script CDO/ASP and Session Var

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

  1. #1

    Default Help with Mail Script CDO/ASP and Session Var

    I have a mailscript CDO using ASP technology, and I need to include the aid
    valude or id value of the recordset in the script so they can click the link to
    the article.



    usxCDO.Body = "You had subscribed to receive an email notification when
    comments were posted to this blog topic.
    http://209.208.104.67/articles_details.asp?id=Session("svurl")"

    Speegs Guest

  2. Similar Questions and Discussions

    1. Form Mail Script
      Hello, could anyone tell me exactly how to edit the script to make it work and where to place the files on my website directories? I've been...
    2. cgi mail script anyone?
      I need to send a mail from the cgi. It must be able to have a reply or sender as someone different from the local web owner (apache). My...
    3. Mail Script Help.
      "." </@.> writes: Yo Walt, try putting your name in the From field of your post, makes you look less lurky. Try, using the Open URL script...
    4. the script hangs up when i try to send mail with attachments using MAIL::Sender...???
      As said in the topic... when i try to send an e-mail message using Mail::Sender the script hangs up before execution of $sender ->...
    5. what's wrong with this form mail script?
      Hi James, WA Universal Email is a commercially available Dreamweaver extension that is fully-loaded with premium features. The extension supports...
  3. #2

    Default Re: Help with Mail Script CDO/ASP and Session Var

    Try this:

    usxCDO.Body = "You had subscribed to receive an email notification when
    comments were posted to this blog topic.
    http://209.208.104.67/articles_details.asp?id=" & Session("svurl")

    Best regards,
    Chris


    Chris In Madison Guest

  4. #3

    Default Re: Help with Mail Script CDO/ASP and Session Var

    Awesome thanks Chris

    does the " tell the line there is more and the & is the include.
    Speegs Guest

  5. #4

    Default Re: Help with Mail Script CDO/ASP and Session Var

    The .Body property is a string, so what's in the quotes is literally
    interpreted. So if you put the session code inside the quotes, it uses it
    literally. The & is the standard VBScript concatenator, so basically it's
    taking the string value and appending the session variable to it, hence the
    complete value :-)

    Best regards,
    Chris


    Chris In Madison 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