| Below demostrates the sample coding for JMail usage:
01. <%
02. Set JMail = Server.CreateObject("JMail.SMTPMail") 03. JMail.ServerAddress = "mail.yourdomain.com"
06. JMail.AddRecipient "me@medomain.com"
07. JMail.Body = "Email contents"
08. JMail.Priority = 1 09. JMail.Execute
10. %>
Explanation According to Line
01. Open ASP tag
02. Create instance of Mailer control 03. Set the mail server address
04. Set senders email
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
|
Powered by WHMCompleteSolution