Welcome to WebmasterWorld Guest from 184.73.112.180

Forum Moderators: ocean10000

Help Requesting Form Values

Help Requesting Form Values

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

10+ Year Member



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

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

10+ Year Member




Have you tried removing the quotes like this:

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

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

10+ Year Member



Try this one...

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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month