1. Obtain the PHPMailer from https://secure.web-hosting.net.my/support/index.php?_m=downloads&_a=downloadfile&downloaditemid=1 2. There are two files in the zip file (class.phpmailer.php and class.smtp.php).
3. Both files must be placed together.
4. Extract the files in a folder call phpmailer.
5. Open notepad and paste the following code to a php file after performing the necessary changes.
SMTPServer - The smtp server address (e.g: mail.yourdomainname)
EmailID - One of your Email Login ID
EmailPassword - Password for the selected Email
SenderEmail - Sender Email Address, only from your domain email
SenderName - Sender Email Name
RecipientEmail - Recipient Sender Email Name
RecipientName - Name
ReplyEmail - Sender Email Address, only from your domain email
ReplyName - Sender Email Name
Subject - Subject of the Email
Message Body - Email Message Contents
PlainTextBody - Plain Text Message Contents, will display when recipient can't read HTML
IsSMTP();