w3JMail Examples

Examples 4.5

SpeedMailer

The speedmailer object is used to send emails with one function call only. It can come in handy when you want small system messages sent and when you don't need error handling.

   SpeedMail.asp


<%

  set JMail = Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","


  JMail.SendMail "me@home.com", "jane@work.com, lisa@work.com", "Hi!", "All fine?", "mail.acme.com"


%>
<html>
email sent...
</html>