AnaFyr
12-03-2003, 01:37 AM
Sending an e-mail with info returned to me as a post.
How could I write a script to handle sending an e-mail to someone with the values of a form.
Example:
This is what comes thru the "Post" method:
i.e.:
FirstName=John
LastName=Smith
Address=123 Any Street
Email=abc@example.com
I want to create a "Response" to this info. I will be sending values to a server. The server can automatically return the values back to me. I want to send an e-mail to the e-mail specified in the e-mail field of the "Post" collection.
i.e.:
I want to send abc@example.com, the results of the Name/Value pairs sent to the server.
I think it's something like:
If Form.Collection = "e-mail" Then
Response.Write "(Session.Document.Execute = 'mailto:// & '" e-mail "' &'"
Response.Write (Form.Collection) & "<BR>"
Next
Does this make sense...???
Help!
How could I write a script to handle sending an e-mail to someone with the values of a form.
Example:
This is what comes thru the "Post" method:
i.e.:
FirstName=John
LastName=Smith
Address=123 Any Street
Email=abc@example.com
I want to create a "Response" to this info. I will be sending values to a server. The server can automatically return the values back to me. I want to send an e-mail to the e-mail specified in the e-mail field of the "Post" collection.
i.e.:
I want to send abc@example.com, the results of the Name/Value pairs sent to the server.
I think it's something like:
If Form.Collection = "e-mail" Then
Response.Write "(Session.Document.Execute = 'mailto:// & '" e-mail "' &'"
Response.Write (Form.Collection) & "<BR>"
Next
Does this make sense...???
Help!