<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ASP Sample Mailer</title>
</head>
<body>
<p>We are sending mail according to your hardcoded parameters.<p>
<%
set o = Server.CreateObject("ADISCON.SimpleMail.1") ' create mailer!
o.MailServer = "127.0.0.1"
o.Sender = "Test@Test.com"
o.Recipient = "SomeOne@SomeCompany.Com"
o.Subject = "My first SimpleMail mail"
o.MessageText = o.MessageText = "Line 1" + Chr(13) + Chr(10) + "Line 2"
' of course, this could also be somethig like this:
' o.MessageText = Request("strMessage")
call o.Send
set o = Nothing
%>
</body>
</html>
Simple mail strictly conforms to the original SMTP standard. It does not support enhanced features like attachments, MIME or multiple character sets. However, it offers high performance, ease of use and a very competitive low price.