
January 19th, 2004, 05:10 AM
|
|
Contributing User
|
|
Join Date: Oct 2003
Posts: 57
Time spent in forums: 3 h 16 m 49 sec
Reputation Power: 6
|
|
The form can be posted to itself or another .asp page to carry out the email processing. Here's an example of the code you would use to email the details from a form:
PHP Code:
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.FROM = YourEmailAddress
ObjMail.TO = Request.Form("Email")
ObjMal.Value("Reply-To") = YourEmailAddress
ObjMail.Subject = Request.Form("Subject")
ObjMail.Body = Request.Form("Message")
ObjMail.Importance = 2 'High
ObjMail.Send
Set ObjMail= Nothing
|