Greetings heavy duty coders,
Basically, I have a link in an Opt-In e-mail that when desiring to Opt-Out they clicked on a link that looks like this ....

http://www.reboot.com/donotemail.asp?email=NeedHelp@hotmail.com

I need to figure out how to grab email NeedHelp@hotmail.com out of the HTTP string so that I can put it into my SQL comparison code.

Please help

With ASP, you want to use the QueryString Collection of the Request Object.

http://www.w3schools.com/ASP/coll_querystring.asp

So, you would code something like this:

Dim email
email = Request.QueryString("email")

I would also suggest creating a hash (md5 or sha) from the email and using that in the querystrings. This just keeps your querystrings a bit more secure and anonymous.

Hope that helps!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.