Welcome to WebmasterWorld Guest from 54.234.153.197

Forum Moderators: ocean10000

Message Too Old, No Replies

Help Requesting Form Values

Help Requesting Form Values

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

Full Member

10+ Year Member

joined:Mar 10, 2003
posts:321
votes: 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

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

Junior Member

10+ Year Member

joined:Jan 28, 2002
posts:166
votes: 0



Have you tried removing the quotes like this:

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

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

Junior Member

10+ Year Member

joined:May 22, 2003
posts:61
votes: 0


Try this one...

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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members