Mail Problem !!!

Results 1 to 2 of 2

Thread: Mail Problem !!!

  1. #1
    Asela Guest

    Default Mail Problem !!!

    I sent an email using CDONTS and the mail has a URL, which has a unique ID at the end of the URL. I want to know how to get that URL and retrieve records from the database depending on the Unique ID. ThanX...<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Mail Problem !!!

    Hi,<BR><BR>If your url looks something like this : [yoururl.asp?id=anynumberorstring]<BR><BR>it&#039;s quite easy.<BR><BR>uniqueID = request.querystring("id")<BR><BR>you can then use this id to do a select statement:<BR><BR>set objRS = "SELECT * FROM tblWhatever WHERE key =" & uniqueID & ";"<BR><BR>or whatever kinda database stuff you want to pull

Posting Permissions

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