Welcome to WebmasterWorld Guest from 23.22.250.113

Forum Moderators: ocean10000

Message Too Old, No Replies

cdonts+email

     

stevelibby

2:47 pm on Jun 29, 2005 (gmt 0)

10+ Year Member



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

10:34 pm on Jun 30, 2005 (gmt 0)

10+ Year Member



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

11:42 pm on Jun 30, 2005 (gmt 0)

10+ Year Member



do i need to declare stremail?

mrMister

1:50 pm on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<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>
 

Featured Threads

Hot Threads This Week

Hot Threads This Month