sendmail.asp - script to send email and confirm to visitor
<html>
<head>
<title>Sending Email</title>
</head>
<body>
<p align="center"><font face="Arial, geneva"
size="5">Email Form<br>
</font></p>
<%
Name = Request.Form("name")
SenderEmail = Request.Form("email")
Subject = "Regarding " & Request.Form("subject")
Recipient = Request.Form("recipient")
Body = Request.Form("body")
Set JMail =
Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "jmail.extremeweb.com"
JMail.Sender
= Senderemail
JMail.SenderName = Name
JMail.Subject = Subject
JMail.AddRecipient
Recipient
JMail.Body =
Body
JMail.Priority
= 3
JMail.AddHeader
"Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.Execute
%>
<center>
<font face="Arial, geneva" size="3">
Your email has been sent to <%=
Recipient %><br>
</font>
</center>
</body>
</html>