Code Sample
<html>
<head>
</head>
<body>
<%
Set Mailer = Server.CreateObject("JMail.SMTPMail")
Mailer.Sender = "you@YourHostedDomainName.com"
Mailer.ServerAddress = "localhost"
Mailer.AddRecipient "someone@somewhere.com"
Mailer.Subject = "This is a sample email sent using JMail"
Mailer.Body = "Congratulation" & VbCrLf & "If you receive this is, your mail component works"
Mailer.Priority = 3
Mailer.Execute
Response.Write "Mail sent..."
%>
</body>
</html>
Article ID: 111, Created On: 11/6/2008, Modified: 4/22/2011