homepage Welcome to WebmasterWorld Guest from 54.226.136.179
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
cdonts+email
stevelibby

10+ Year Member



 
Msg#: 2841 posted 2:47 pm on Jun 29, 2005 (gmt 0)

i have created a small list of clients and i wish to send email to them from my db. To do this and i click on their email via a web page and this then sends to email.asp where the cdonts script is together with the parameter of "Email".
All is fine so far, but i want them should they wish to be removed to click a link that sends them a page i have already prepared but sends the email too.
so as example www.test.co.uk/?email=blog@co.uk
i have tried many dirrent ways but i cant get it too work, can anyone help here?

strHTML = "<html><head><title>Email List</title></head>"
strHTML = strHTML & "Remove Me From Mail List <BR>"
strHTML = strHTML & "<a href=""http://www.test.co.uk/customerinfo/leave.asp?Email="""
strHTML = strHTML & ">Click Here</A>"
strHTML = strHTML & "</body></html>"

 

Big_Gig

5+ Year Member



 
Msg#: 2841 posted 10:34 pm on Jun 30, 2005 (gmt 0)

Hi stevelibby,

I'm not exactly sure what you're trying to do, but if you're trying to pass the email address as part of the querystring, you're missing one part... (see bolded text)

strHTML = "<html><head><title>Email List</title></head>"
strHTML = strHTML & "Remove Me From Mail List <BR>"
strHTML = strHTML & "<a href=""http://www.test.co.uk/customerinfo/leave.asp?Email=" & strEMAIL & """>Click Here</A>"
strHTML = strHTML & "</body></html>"

stevelibby

10+ Year Member



 
Msg#: 2841 posted 11:42 pm on Jun 30, 2005 (gmt 0)

do i need to declare stremail?

mrMister

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 2841 posted 1:50 pm on Jul 1, 2005 (gmt 0)

<form method="get" action ="http://www.test.co.uk/customerinfo/leave.asp">
Email address:<input type="text" name="email"><br><input type="submit" value="Remove Me From Mail List"></form>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved