w3JMail version 4.4 Free - FAQ - (pre-installed on our windows servers.)

For w3JMail email form results - create 2 files - JmailForm.asp and SendMail.asp

Use smtp.w2k3.usbusinessweb.net as smtp server.

JmailForm.asp

 

<html>
<head>
<title>emailform</title>
</head>
<body>
<form method="post" action="SendMail.asp">
   Complete this form and click the submit-button. We will answer your
   questions as soon as possible.

   <br><br>
   Your name<br>
   <input type="text" size="25" name="name"><br>
  
   Your email<br>
   <input type="text" size="25" name="email"><br>   Recipient email<br>
   <input type="text" size="25" name="recipient"><br> State your business<br>
   <select name="subject" size="1">
    <option value="help">help
       <option value="tips">tips
       <option value="other">other
   </select>
   <br> Enter your question<br>
   <textarea name="body" cols="40" rows="15" wrap="PHYSICAL"></textarea>
   <br>
   <input type="submit" value="  Submit ">
</form>
</body>
</html>
 

 

SendMail.asp

 

<%@LANGUAGE = VBSCRIPT%> <html>
<body>
 
<%

' Get the form data
name        = Request.Form("name")
senderEmail = Request.Form("email")
subject    = "Regarding " & Request.Form("subject")
recipient   = Request.Form("recipient")
body        = Request.Form("body")

' Create the JMail message Object
set msg = Server.CreateOBject( "JMail.Message" )

' Set logging to true to ease any potential debugging
' And set silent to true as we wish to handle our errors ourself

msg.Logging = true
msg.silent = true

' Enter the sender data
msg.From = senderEmail
msg.FromName = name

' Note that as addRecipient is method and not
' a property, we do not use an equals ( = ) sign

msg.AddRecipient recipient

' The subject of the message
msg.Subject = subject

' And the body
msg.body = body

' Now send the message, using the indicated mailserver
if not msg.Send("smtp.w2k3.usbusinessweb.net" ) then
    Response.write "<pre>" & msg.log & "</pre>"
else
    Response.write "Thank you, form submitted!"
end if


' And we're done! the message has been sent.

 
%>
</body>
</html>