Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail / JMail Capture return EMail Address

Status
Not open for further replies.

Webflex

Technical User
Apr 20, 2001
101
0
0
GB
Hi

I have an html form that includes a field for EMail address. This form passes to sendmail.asp (action="sendmail.asp") which uses the JMail component to actually send the message.

I want the EMail field in the html form to be used as the 'msg.From' value in the sendmail process.

Any suggestion on how to achieve this welcomed.

TIA
Webflex
 
from memory the JMAIL component is specified as
msg.Sender not msg.From

and in any case all you need to do is request the object as the other values you are populating into the fields.
eg: msg.Sender = request.form("sender email")

___________________________________________________________________
[sub]
The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
[/sub]
 
Quick reply, it's msg.From in the iteration I have, however it works, many thanks.
 
[thumbsup2]

___________________________________________________________________
[sub]
The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top