Below demostrates the sample coding for JMail usage:
�
01. <%
02. �� Set
JMail = color=rosybrown>Server.CreateObject
("JMail.SMTPMail") 02. �� Set
JMail = color=rosybrown>Server.CreateObject
03. �� JMail.ServerAddress =
"mail.achiko.org"
"mail.achiko.org"
04. �� JMail.Sender = " href="mailto:test@yourdomain.com">test@yourdomain.com"
05. �� JMail. color=darkgoldenrod>Subject = "Email Subject"
05. �� JMail. color=darkgoldenrod>Subject = "Email Subject"
06. �� JMail.AddRecipient " href="mailto:msho@yourdomain.com">msho@yourdomain.com"
07. �� JMail.Body = "Email
contents"
08. �� JMail.Priority = 1
contents"
08. �� JMail.Priority = 1
09. �� JMail.Execute
10. %>
�
Explanation According to Line
01. Open ASP tag
02.�Create instance of Mailer
control
02.�Create instance of Mailer
control
03. Set the mail server address
04. Set senders email
05. Set Email subject
05. Set Email subject
06. Add recipient email address�to the email
07. Enter email content
08. Set the priority of the email (1=urgent,3=normal, 5=low)
09.�Send email
10. Close ASP Tag
�