Book and Host Online Services
Please Login or Register

Knowledgebase

How to use Jmail ?

Below demostrates the sample coding for JMail usage:
 
01. <%
02.    Set JMail = Server.CreateObject("JMail.SMTPMail")
03.    JMail.ServerAddress = "mail.yourdomain.com"
04.    JMail.Sender = "test@yourdomian.com"
05.    JMail.Subject = "Email Subject"
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


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
error:Root Web Busy (Views: 224)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter