homepage Welcome to WebmasterWorld Guest from 54.198.224.121
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
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




msg:947672
 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




msg:947673
 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




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

do i need to declare stremail?

mrMister




msg:947675
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved