homepage Welcome to WebmasterWorld Guest from 174.129.103.100
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

    
Help Requesting Form Values
Help Requesting Form Values
lindajames




msg:942210
 5:08 pm on Apr 23, 2003 (gmt 0)

Hi,

I am trying to configure ASPMail, and one of the lines in in the code is

Mailer.FromAddress= "email@domain.com"

but i want to make the value of FromAddress to use Request.Form("email") so i thought maybe it can be done like this:

Mailer.FromAddress= "Request.Form("email")"

but it seems my server doesnt like the " signs

Mailer.FromName = "Request.Form("email")"
---------------------------------^

can anyone help me on solving this problem?

any help would be appreciated.

Cheers
Linda

 

JuDDer




msg:942211
 5:10 pm on Apr 23, 2003 (gmt 0)


Have you tried removing the quotes like this:

Mailer.FromName = Request.Form("email")

davegerard




msg:942212
 5:48 am on May 23, 2003 (gmt 0)

Try this one...

FromAddress = Request.Form("email")
Mailer.FromAddress = FromAddress

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