﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Knowledgebase » Knowledgebase » E-mail » Script email</title><generator>InstantKB.NET 2.0.4</generator><description>Knowledgebase</description><link>http://www.webhost4life.com/HostingKB/</link><webMaster>kb@webhost4life.com</webMaster><lastBuildDate>Fri, 20 Nov 2009 19:54:32 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I send email using PHP with phpMailer class</title><link>http://www.webhost4life.com/HostingKB/Goto50140.aspx</link><description>&lt;p&gt;&lt;font face="Arial"&gt;Here's a sample for using SMTP. Our server setting REQUIRES all customers to use SMTP authorization in order to send out email. You can acquire a copy of phpmailer class from http://sourceforge.net/project/showfiles.php?group_id=26031. You should upload the file "class.phpmailer.php" to same folder for your script.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;IMPORTANT:  From email address and your authorization email address MUST be same.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;&lt;br /&gt;&lt;font face="Courier New"&gt;&amp;lt;?php&lt;br /&gt;require("class.phpmailer.php");&lt;br /&gt;$mail = new PHPMailer();&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;$mail-&gt;CharSet ="utf-8"; &lt;font color="#ff0000"&gt;// You can adjust the Charset according to your language&lt;/font&gt;&lt;br /&gt;$mail-&gt;IsSMTP();&lt;br /&gt;$mail-&gt;Host = "&lt;font color="#ff0000"&gt;mail.Yourdomain.com&lt;/font&gt;";&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font face="Courier New"&gt;$mail-&gt;From="youremail@yourdomain.com"; &lt;font color="#ff0000"&gt;//REMEMBER, this MUST be same as your authorization email address above.&lt;/font&gt;&lt;br /&gt;$mail-&gt;FromName="My site's mailer";&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face="Arial"&gt;&lt;font face="Courier New"&gt;$mail-&gt;SMTPAuth = true;&lt;br /&gt;$mail-&gt;Username = "youremail@yourdomain.com";&lt;br /&gt;$mail-&gt;Password = "yourpassword";&lt;br /&gt;&lt;br /&gt;$mail-&gt;AddAddress("sendTOemail");&lt;br /&gt;$mail-&gt;Subject = "Test 1";&lt;br /&gt;$mail-&gt;Body = "Test 1 of PHPMailer.";&lt;br /&gt;&lt;br /&gt;if(!$mail-&gt;Send())&lt;br /&gt;{&lt;br /&gt;   echo "Error sending: " . $mail-&gt;ErrorInfo;;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;   echo "Letter is sent";&lt;br /&gt;}?&gt;&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;To add information about sender, use following functions:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;&lt;font face="Courier New"&gt;$mail-&gt;Sender="mailer@example.com"; // indicates ReturnPath header&lt;br /&gt;$mail-&gt;AddReplyTo("replies@example.com", "Replies for my site"); // indicates ReplyTo headers&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;For specifying various types of recepients use these:&lt;br /&gt;&lt;br /&gt;&lt;font face="Courier New"&gt;$mail-&gt;AddAddress("mail1@domain.com", "Recepient 1");&lt;br /&gt;$mail-&gt;AddCC("mail1@domain.com", "Recepient 1");&lt;br /&gt;$mail-&gt;AddBCC("mail1@domain.com", "Recepient 1");&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial"&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Mon, 16 Nov 2009 09:27:28 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Sending Email using SMTP Authentication</title><link>http://www.webhost4life.com/HostingKB/Goto50203.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;span class="Highlight"&gt;You need to:&lt;br /&gt;1. use your email server as the smtp, this is usually mail.yourdomain.com&lt;br /&gt;2. authenticate to the smtp server&lt;br /&gt;3. make sure your "From" address is exactly the same as your login address in your code&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;PHP&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial" size="1"&gt;&lt;font size="2"&gt;Sample php code using ASPEMAIL COM . (aspemail COM  is supported by us) Please refer to &lt;a href="KnowledgebaseArticle50141.aspx"&gt;this article&lt;/a&gt;.&lt;br /&gt;If you like to use PHPMAILER, please refer to &lt;a href="KnowledgebaseArticle50140.aspx"&gt;this article&lt;/a&gt;.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;C# 1.1&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;private void Page_Load(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt; MailMessage mail = new MailMessage();&lt;br /&gt; mail.To = "&lt;a href="mailto:me@mycompany.com"&gt;me@mycompany.com&lt;/a&gt;";&lt;br /&gt; mail.From = "&lt;a href="mailto:you@yourcompany.com"&gt;you@yourcompany.com&lt;/a&gt;";&lt;br /&gt; mail.Subject = "this is a test email.";&lt;br /&gt; mail.Body = "Some text goes here";&lt;br /&gt; mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/a&gt;", "1"); //basic authentication&lt;br /&gt; mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/a&gt;", "my_username_here"); //set your username here&lt;br /&gt; mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/a&gt;", "super_secret"); //set your password here&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt; SmtpMail.SmtpServer = "mail.mycompany.com";  //your real server goes here&lt;br /&gt; SmtpMail.Send( mail );&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;C# 2.0&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;static void Authenticate()&lt;br /&gt;{&lt;br /&gt;//create the mail message&lt;br /&gt;MailMessage mail = new MailMessage();&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;//set the addresses&lt;br /&gt;mail.From = new MailAddress("&lt;a href="mailto:me@mycompany.com"&gt;me@mycompany.com&lt;/a&gt;");&lt;br /&gt;mail.To.Add("&lt;a href="mailto:you@yourcompany.com"&gt;you@yourcompany.com&lt;/a&gt;");&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;//set the content&lt;br /&gt;mail.Subject = "This is an email";&lt;br /&gt;mail.Body = "this is the body content of the email.";&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;//send the message&lt;br /&gt;SmtpClient smtp = new SmtpClient("mail.yourdomain.com");&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;//to authenticate we set the username and password properites on the SmtpClient&lt;br /&gt;smtp.Credentials = new NetworkCredential("username@yourdomain.com", "secret"); &lt;br /&gt;smtp.Send(mail);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;}&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;VB.net 1.1&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;Private Sub Page_Load(sender As Object, e As System.EventArgs)&lt;br /&gt;   Dim mail As New MailMessage()&lt;br /&gt;   mail.To = "&lt;a href="mailto:me@mycompany.com"&gt;me@mycompany.com&lt;/a&gt;"&lt;br /&gt;   mail.From = "&lt;a href="mailto:you@yourcompany.com"&gt;you@yourcompany.com&lt;/a&gt;"&lt;br /&gt;   mail.Subject = "this is a test email."&lt;br /&gt;   mail.Body = "Some text goes here"&lt;br /&gt;   mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/a&gt;", "1") 'basic authentication&lt;br /&gt;   mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/a&gt;", "my_username_here") 'set your username here&lt;br /&gt;   mail.Fields.Add("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/a&gt;", "super_secret") 'set your password here&lt;br /&gt;   SmtpMail.SmtpServer = "mail.mycompany.com" 'your real server goes here&lt;br /&gt;   SmtpMail.Send(mail)&lt;br /&gt;End Sub 'Page_Load&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;VB.net 2.0&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&amp;lt;%@ Import Namespace="System.Net.Mail" %&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;Sub Authenticate()&lt;br /&gt;'create the mail message&lt;br /&gt;Dim mail As New MailMessage()&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;'set the addresses&lt;br /&gt;mail.From = New MailAddress("&lt;a href="mailto:me@mycompany.com"&gt;me@mycompany.com&lt;/a&gt;")&lt;br /&gt;mail.To.Add("&lt;a href="mailto:you@yourcompany.com"&gt;you@yourcompany.com&lt;/a&gt;")&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;'set the content&lt;br /&gt;mail.Subject = "This is an email"&lt;br /&gt;mail.Body = "this is the body content of the email."&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;'send the message&lt;br /&gt;Dim smtp As New SmtpClient("mail.yourdomain.com")&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;'to authenticate we set the username and password properites on the SmtpClient&lt;br /&gt;smtp.Credentials = New NetworkCredential("username@yourdomain.com", "secret")&lt;br /&gt;smtp.Send(mail)&lt;br /&gt;End Sub 'Authenticate&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;ASP&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt; &amp;lt;%&lt;br /&gt; Dim ObjSendMail&lt;br /&gt; Set ObjSendMail = Server.CreateObject("Persits.MailSender")&lt;br /&gt; &lt;br /&gt; ObjSendMail.Host = "mail.somesite.com"&lt;br /&gt; ObjSendMail.From = "someone@somesite.com"&lt;br /&gt; ObjSendMail.FromName = "someone"&lt;br /&gt; ObjSendMail.AddAddress "somebodyelse@somesite.com"&lt;br /&gt; ObjSendMail.Subject = "your subject"&lt;br /&gt; ObjSendMail.Body = "your email body"&lt;br /&gt;  &lt;br /&gt;Our email server requires SMTP Authentication. Replace the username and password below.&lt;br /&gt;ObjSendMail.Username = "SMTPUsername"&lt;br /&gt;ObjSendMail.Password = "SMTPPassword"&lt;br /&gt; &lt;br /&gt; On Error Resume Next&lt;br /&gt; &lt;br /&gt; ObjSendMail.Send&lt;br /&gt; If Err &amp;lt;&gt; 0 Then&lt;br /&gt;    Response.Write "Error encountered: " &amp;amp; Err.Description&lt;br /&gt; End &lt;/font&gt;&lt;/font&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;If&lt;br /&gt; &lt;br /&gt; Set ObjSendMail = nothing&lt;br /&gt;%&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;Perl&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;Please refer to &lt;a href="KnowledgebaseArticle50120.aspx"&gt;this article&lt;/a&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;font face="Arial" size="4"&gt;Coldfusion&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;&amp;lt;Cfmail server="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;SMTPUsername&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;SMTPPassword&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;@mail.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;somesite.com"&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;&lt;br /&gt;             from="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;someone@somesite.com&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;"&lt;br /&gt;             to="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;somebodyelse@somesite.com&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;"&lt;br /&gt;             subject="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;your subject&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;your email body&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 0);"&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;&lt;br /&gt;&amp;lt;/CFMAIL&gt;&lt;/font&gt;&lt;/font&gt;&lt;font style="background-color: rgb(255, 255, 255);"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;br /&gt;&lt;font face="Arial" size="1"&gt;&lt;font style="background-color: rgb(255, 255, 255);" /&gt;&lt;/font&gt;</description><pubDate>Wed, 26 Aug 2009 10:21:57 GMT</pubDate><dc:creator>Tim</dc:creator></item><item><title>How do I prevent spammers to use my contact form to send spam mail ?</title><link>http://www.webhost4life.com/HostingKB/Goto50128.aspx</link><description>&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type" style="" /&gt;&lt;meta content="Word.Document" name="ProgId" style="" /&gt;&lt;meta content="Microsoft Word 11" name="Generator" style="" /&gt;&lt;meta content="Microsoft Word 11" name="Originator" style="" /&gt;A spambot is an automated computer program designed to assist in the sending of spam. Some of spambot is designed to attack contact form. To prevent spammers use your contact form, you need to customize your form so that only human visitor, not a spambot, can use your form. You will need some programming skill to perform the customization.&lt;br style="" /&gt;&lt;br /&gt;&lt;p style=""&gt;Here are some effective methods:&lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;ol type="1" start="1" style=""&gt;&lt;li style=""&gt;Creating a hidden field inside your contact form and the default value is set to empty. If it is spambots keep submitting your contact form, it will also submit value to the hidden field. You can verify the hidden field to identify whether it is spambot.&lt;br style="" /&gt;&lt;/li&gt;&lt;li style=""&gt;Similar to method 1. But, this time, you add an input box to your contact form and set the input box as invisible by using css. This way can further confuse and increase the workload of the attacker.&lt;/li&gt;&lt;li style=""&gt;Similar to method 1. But this time, you add 2 hidden fields having similar names such as token1 and token2. Populate token1 with a random value. Populate token2 with a reversed string and then validate upon POST. Many spammers will post data to both fields and never expect validation to sort of mirror each other.&lt;/li&gt;&lt;li style=""&gt;Counting the occurrence of the string that posted from different fields. Spambots often post the same data to multiple fields, often "http://" or "[url". Most validation scripts loop through all the posted variables. When looping through the posted values, conditionally increment a counter.&lt;/li&gt;&lt;li style=""&gt;Using session. Generate a random string when the visitor first arrives at the site, and save it in a session variable. On the Contact form, break up the random string into about 4 chunks, each displayed using a different font color. Ask the user to enter the red characters in a box near the submit button. Validate the submitted data and generate an error message if the wrong value is posted. Robots won't be able to guess the random string.&lt;/li&gt;&lt;li style=""&gt;Limit form submission from a specific IP address within a time period.&lt;/li&gt;&lt;li style=""&gt;Making use of CAPTCHA. However, CAPTCHA can be hard to read even for humans. And if implemented wrong, they will be read by the bots&lt;/li&gt;&lt;/ol&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;p style=""&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=""&gt;For details of method 2, please refer to&lt;a href="http://klauskjeldsen.dk/2007/07/19/avoid-html-form-spam-using-css/" style=""&gt;&lt;br /&gt;http://klauskjeldsen.dk/2007/07/19/avoid-html-form-spam-using-css/&lt;/a&gt;&lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;p style=""&gt;For details of method 1, 3, 4, 5 and 6, please refer to&lt;a href="http://www.hockinson.com/index.php?s=182" style=""&gt;&lt;br /&gt;http://www.hockinson.com/index.php?s=182&lt;/a&gt;&lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt;  &lt;p style=""&gt;For details of method 7, please refer to&lt;a href="http://www.online-tech-tips.com/web-site-tips/use-a-captcha-to-prevent-comment-spam-or-to-hide-an-email-address-and-help-digitize-books-at-the-same-time/" style=""&gt;&lt;br /&gt;http://www.online-tech-tips.com/web-site-tips/use-a-captcha-to-prevent-comment-spam-or-to-hide-an-email-address-and-help-digitize-books-at-the-same-time/&lt;/a&gt;&lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;p style=""&gt; &lt;/p&gt; &lt;a href="http://www.stevedawson.com/article0015.php" style="" /&gt;</description><pubDate>Tue, 11 Aug 2009 16:55:18 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in WordPress</title><link>http://www.webhost4life.com/HostingKB/Goto50189.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;To enable SMTP authentication, you need to install Wordpress plugin "&lt;a target="_blank" href="http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-counter/"&gt;Cimy Swift SMTP&lt;/a&gt;". If your wordpress is deployed with our Control Panel "PHP free plugin" function, &lt;/font&gt;&lt;font face="Arial" size="2"&gt;"Cimy Swift SMTP" is already deployed.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;There is only one step:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;First login to admin page of your wordpress &lt;/font&gt;(http://yourDomain/wp-admin). In admin page -&gt; setting -&gt; Cimy Swift SMTP, &lt;font face="Arial" size="2"&gt;you will see the form same as below. Enter “From Address” &lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;and other SMTP &lt;/font&gt;&lt;/font&gt;information.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;P.S. Ensure the inputted information is under the criteria stated in &lt;a href="KnowledgebaseArticle50103.aspx"&gt;this article&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="/HostingKB/Uploads/Images/wp.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description><pubDate>Wed, 17 Jun 2009 02:56:07 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How do I send email using ASP with Jmail</title><link>http://www.webhost4life.com/HostingKB/Goto50462.aspx</link><description>&lt;p&gt;&lt;font face="Arial"&gt;NOTE: This article is for Window Hosting Only.&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;You need to:&lt;br /&gt;1. use your email server as the smtp, this is usually mail.yourdomain.com&lt;br /&gt;2. authenticate to the smtp server&lt;br /&gt;3. make sure your "From" address is exactly the same as your login address in NetworkCredential class&lt;br /&gt;&lt;br /&gt;&lt;font face="Arial"&gt;Sample ASP code using Jmail COM+. (Jmail COM+ is supported by our hosting)&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;%&lt;/p&gt;&lt;p&gt;dim SMTP_user&lt;br /&gt;dim SMTP_password &lt;br /&gt;dim SMTP_server &lt;/p&gt;&lt;p&gt;SMTP_user  = "&lt;strong&gt;youremail@YourDomain.com&lt;/strong&gt;"&lt;br /&gt;SMTP_password  = "&lt;strong&gt;yourEmailPassword&lt;/strong&gt;"&lt;br /&gt;SMTP_server = "&lt;strong&gt;mail.YourDomain.com&lt;/strong&gt;"&lt;/p&gt;&lt;p&gt;dim client_content&lt;br /&gt;&lt;br /&gt;client_content  = "This is the test mail by using Jmail"&lt;/p&gt;&lt;p&gt;&lt;br /&gt;dim mail_to&lt;br /&gt;dim mail_to_subject&lt;br /&gt;dim mail_to_content&lt;/p&gt;&lt;p&gt;mail_to  = SMTP_user&lt;br /&gt;mail_to_subject = "Emailing sample with Jmail via ASP"&lt;br /&gt;mail_to_content = "Content : " + client_content&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dim myMail &lt;br /&gt;&lt;br /&gt;Set myMail     = Server.CreateObject("Jmail.Message") &lt;br /&gt;myMail.silent    = true &lt;br /&gt;myMail.Logging     = true &lt;br /&gt;myMail.Charset     = "utf-8"&lt;br /&gt;myMail.ContentType    = "text/html"&lt;/p&gt;&lt;p&gt;myMail.MailServerUserName  = SMTP_user          &lt;br /&gt;myMail.MailServerPassword  = SMTP_password       &lt;br /&gt;myMail.From    = SMTP_user     &lt;br /&gt;myMail.FromName   = SMTP_user&lt;br /&gt;myMail.AddRecipient   mail_to        &lt;br /&gt;myMail.Subject    = mail_to_subject&lt;br /&gt;myMail.Body    = mail_to_content&lt;br /&gt;myMail.Send    SMTP_server       &lt;br /&gt;set myMail = nothing&lt;br /&gt;response.write "Sent ok, please check" + mail_to&lt;/p&gt;&lt;p&gt;%&amp;gt;&lt;/p&gt;</description><pubDate>Tue, 19 May 2009 09:52:34 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How do I send email using PHP with ASPemail</title><link>http://www.webhost4life.com/HostingKB/Goto50141.aspx</link><description>&lt;p&gt;&lt;font face="Arial"&gt;NOTE: This article is for Window Hosting Only.  For Linux Hosting, please refer to &lt;a href="KnowledgebaseArticle50140.aspx"&gt;here&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;You need to:&lt;br /&gt;1. use your email server as the smtp, this is usually mail.yourdomain.com&lt;br /&gt;2. authenticate to the smtp server&lt;br /&gt;3. make sure your "From" address is exactly the same as your login address in NetworkCredential class&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="StaffEditArticle50140.aspx"&gt;&lt;font face="Arial"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face="Arial"&gt;Sample php code using aspemail COM+. (aspemail COM+ is supported by our hosting)&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;font face="Arial"&gt;&amp;lt;?php&lt;br /&gt;$mailer = new COM("Persits.MailSender")  or die("Unable to instantiate aspemail");&lt;br /&gt;echo $mailer-&gt;version;&lt;br /&gt;$smtp = "mail.sender.com";&lt;br /&gt;$from = "&lt;/font&gt;&lt;/em&gt;&lt;em&gt;&lt;font face="Arial"&gt;info@sender.com";&lt;br /&gt;$login = "info@sender.com";&lt;br /&gt;$pwd = "password";&lt;br /&gt;$to = "tom@recipient.com";&lt;br /&gt;$subject = "Subject";&lt;br /&gt;$body = "This is message body";&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;font face="Arial"&gt;$mailer-&gt;Host = $smtp;&lt;br /&gt;$mailer-&gt;Username = $login;&lt;br /&gt;$mailer-&gt;Password = $pwd;&lt;br /&gt;$mailer-&gt;From = $from; // From address&lt;br /&gt;$mailer-&gt;AddAddress($to);&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;font face="Arial"&gt;$mailer-&gt;Subject = $subject;&lt;br /&gt;$mailer-&gt;Body = $body;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;font face="Arial"&gt;$mailer-&gt;Send() or die("failed");&lt;br /&gt;unset($mailer);&lt;br /&gt;?&gt;&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;If the above sample code does not work you can try the pure php variant from &lt;a href="http://phpmailer.sourceforge.net/"&gt;http://phpmailer.sourceforge.net/&lt;/a&gt;. Sample code can be found &lt;a href="KnowledgebaseArticle50140.aspx"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Tue, 19 May 2009 09:51:26 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>What is the location of the SendMail program?</title><link>http://www.webhost4life.com/HostingKB/Goto50127.aspx</link><description>&lt;font face="MS Sans Serif" size="2"&gt;Sendmail programs do not exist in theWindows environment, therefore there is no such location.  You'll have touse SMTP in your perl script our use our sample &lt;a target="_self" href="http://www.webhost4life.com/hostingKB/KnowledgebaseArticle50120.aspx"&gt;perl script&lt;/a&gt; here.&lt;br /&gt;&lt;br /&gt;In Linux environment, please use phpmailer to send email. For details please &lt;a href="KnowledgebaseArticle50140.aspx"&gt;check here.&lt;/a&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Tue, 24 Feb 2009 10:19:45 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in phpBB</title><link>http://www.webhost4life.com/HostingKB/Goto50180.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in Administration Control Panel -&gt; Client Communication -&gt; Email Settings &lt;br /&gt;&lt;br /&gt;&lt;img height="263" width="762" src="/hostingKB/Uploads/Images/22_1.jpg" /&gt;&lt;br /&gt;&gt;&gt;&gt;&lt;br /&gt;&lt;img src="/HostingKB/Uploads/Images/phpbb2.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&gt;&gt;&gt;&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/22_3.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Sun, 15 Feb 2009 17:35:18 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in Joomla</title><link>http://www.webhost4life.com/HostingKB/Goto50172.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in admin page -&gt; site -&gt; global configuration -&gt; server&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/19.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Thu, 12 Feb 2009 18:42:36 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How to configure my dnn site to send mail?</title><link>http://www.webhost4life.com/HostingKB/Goto50240.aspx</link><description>Please make sure you configure the email settings properly within your DNN. Our mail server requires smtp authentication, if it's not configured properly, then it won't send out the email messages.&lt;br /&gt;Go to DNN with host login &gt;&gt; host settings &gt;&gt; advanced settings &gt;&gt; smtp server settings &gt;&gt; SMTP Server&lt;br /&gt;The information required are :&lt;br /&gt;smtp server/host : mail.yourdomainname.com&lt;br /&gt;Type: BASIC (not anonymous or NTLM)&lt;br /&gt;valid email account from yourdomainname.com&lt;br /&gt;and password for the email account.&lt;br /&gt;Make sure the HOST email should be same as the AUTH address. (Depends on which DNN module you are using, some module will use the "admin" user email as from address.)</description><pubDate>Thu, 05 Feb 2009 12:25:17 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>CDO returns error '80040211'</title><link>http://www.webhost4life.com/HostingKB/Goto50039.aspx</link><description>&lt;p&gt;&lt;font face="Arial"&gt;Problem:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;My ASP or ASP.NET script is returning &lt;strong&gt;error '80040211' when using CDO .send command.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;Solution:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;1) In your CDO section, make sure you are using the correct SMTPserver, it should be mail.YOURdomain.com&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;2) A vaild sendusername, it should be a vaild email address such as &lt;a href="mailto:postmaster@Yourdomain.com"&gt;postmaster@Yourdomain.com&lt;/a&gt;.  Make sure you have such email address in your email admin.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;3) Correct sendpassword.  This is the the password of the email address you set in sendusername.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;4) Make sure sendobject.FROM is set to the same email address you use in sendusername in step2 here.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;When you make sure all 4 steps are correct, the error will go away.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;Here's a code example for using CDO:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;------------------------------------------------------------&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;Dim ObjSendMail&lt;br /&gt;Set ObjSendMail = CreateObject("CDO.Message") &lt;br /&gt;     &lt;br /&gt;'This section provides the configuration information for the remote SMTP server.&lt;br /&gt;     &lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/a&gt;") = 2 'Send the message using the network (SMTP over the network).&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/a&gt;") = "&lt;font color="#ff0000"&gt;mail.YOURDomain.com&lt;/font&gt;"&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/a&gt;") = &lt;font color="#ff0000"&gt;25&lt;/font&gt; &lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpusessl"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/a&gt;") = False 'Use SSL for the connection (True or False)&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"&gt;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&lt;/a&gt;") = 60&lt;br /&gt;     &lt;br /&gt;' If your server requires outgoing authentication uncomment the lines bleow and use a valid email address and password.&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/a&gt;") = 1 'basic (clear-text) authentication&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/a&gt;") ="&lt;font color="#ff0000"&gt;youremail@yourdomain.com&lt;/font&gt;"&lt;br /&gt;ObjSendMail.Configuration.Fields.Item ("&lt;a href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/a&gt;") ="&lt;font color="#ff0000"&gt;yourEmailPassword&lt;/font&gt;"&lt;br /&gt;     &lt;br /&gt;ObjSendMail.Configuration.Fields.Update&lt;br /&gt;     &lt;br /&gt;'End remote SMTP server configuration section==&lt;br /&gt;     &lt;br /&gt;ObjSendMail.To = "To_address_here;"&lt;br /&gt;ObjSendMail.Subject = emailSubject         &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial"&gt;ObjSendMail.From = "&lt;font color="#ff0000"&gt;youremail@yourdomain.com&lt;/font&gt;" 'Make sure this is same as the sendusername above.&lt;br /&gt;     &lt;br /&gt;' we are sending a text email.. simply switch the comments around to send an html email instead&lt;br /&gt;'ObjSendMail.HTMLBody = "this is the body"&lt;br /&gt;ObjSendMail.TextBody = "test" 'emailBodyText&lt;br /&gt;     &lt;br /&gt;ObjSendMail.Send&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial" /&gt;</description><pubDate>Wed, 24 Dec 2008 10:16:41 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Mailbox unavailable. The server response was: Authentication is required for relay</title><link>http://www.webhost4life.com/HostingKB/Goto50090.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;When sending email via CDOSYS, it returns an error saying:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Mailbox unavailable. The server response was: Authentication is required for relay&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Solution:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;1) Make sure you authenticate correctly in your script using the correct SMTP server, Email account address and password.&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;font face="Arial" size="2"&gt;&lt;li&gt;SMTP should be mail.Your_Domain_Name.com&lt;/li&gt;&lt;li&gt;Email Account should be any email address you create in your email admin panel. Ex: &lt;a href="mailto:sales@yourdomain.com"&gt;sales@yourdomain.com&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Password should be the password of the email address&lt;/li&gt;&lt;/font&gt;&lt;/ul&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;2) Make sure the FROM address of theemail that you are sending is a valid email address.  This is veryimportant, you cannot send out an email using a from address thatdoesn't exist.  This is used to prevent our customer from spamming.&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 10:05:45 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>What SMTP server should I use for my Scripts?</title><link>http://www.webhost4life.com/HostingKB/Goto50103.aspx</link><description>&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;You should use the following SMTP server, Email account address and password.&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;font face="MS Sans Serif" size="2"&gt;&lt;li&gt;SMTP should be mail.Your_Domain_Name.com&lt;/li&gt;&lt;li&gt;Email Account should be any email address you create in your email admin panel. E.g.: &lt;a href="mailto:sales@yourdomain.com"&gt;sales@yourdomain.com&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Password should be the password of the email address&lt;/li&gt;&lt;/font&gt;&lt;/ul&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;P.S&gt; Make sure the FROM address of theemail that you are sending is a valid email address.  This is veryimportant, you cannot send out an email using a from address thatdoesn't exist.  This is used to prevent our customer from spamming.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Dec 2008 10:00:21 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>How do I send e-mail with Perl Script ?</title><link>http://www.webhost4life.com/HostingKB/Goto50120.aspx</link><description>&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;Here is a sample for &lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;sending e-mail with PERL scripts&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;.&lt;br /&gt;&lt;br /&gt;use strict;&lt;br /&gt;use Net::SMTP;&lt;br /&gt;&lt;br /&gt;my $message = "From: sender\@domain.com&lt;br&gt;To:&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;receiver&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;\@&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;domainTo&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;.com&lt;br&gt;Subject: Hello World&lt;br&gt;&lt;br&gt;Test&lt;br&gt;&lt;br&gt;";&lt;br /&gt;print "Message:&lt;br&gt;";&lt;br /&gt;print $message;&lt;br /&gt;print "&lt;br&gt;";&lt;br /&gt;&lt;br /&gt;my $DEBUG = 1;&lt;br /&gt;&lt;br /&gt;my $ServerName = "smtp.domain.com";&lt;br /&gt;my $ServerAccount = "****\@domain.com";&lt;br /&gt;my $ServerPwd = "********";&lt;br /&gt;my $MailFrom = "&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;sender&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="1"&gt;&lt;font face="MS Sans Serif" size="2"&gt;\@domain.com";&lt;br /&gt;my $MailTo = "receiver\@domainTo.com";&lt;br /&gt;&lt;br /&gt;print "Server variables assigned&lt;br&gt;";&lt;br /&gt;&lt;br /&gt;my $smtp = Net::SMTP-&gt;new($ServerName, Hello =&gt; "domain.com",  Debug =&gt; 1);&lt;br /&gt;die "Couldn't connect to server" unless $smtp;&lt;br /&gt;print "Server connection opened&lt;br&gt;";&lt;br /&gt;&lt;br /&gt;if ( !$smtp-&gt;auth($ServerAccount, $ServerPwd) ) {&lt;br /&gt;print "authentication failed or not needed&lt;br&gt;";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ( !$smtp-&gt;mail( $MailFrom ) ) {&lt;br /&gt;print "sender not accepted&lt;br&gt;";&lt;br /&gt;exit 1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (!$smtp-&gt;to( $MailTo ) ) {&lt;br /&gt;print "addressee not accepted&lt;br&gt;";&lt;br /&gt;exit 1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;print "Server variables checked&lt;br&gt;";&lt;br /&gt;&lt;br /&gt;my $maildata = $message;&lt;br /&gt;$smtp-&gt;data();&lt;br /&gt;$smtp-&gt;datasend( $maildata );&lt;br /&gt;$smtp-&gt;dataend();&lt;br /&gt;$smtp-&gt;quit();&lt;br /&gt;$smtp-&gt;quit;&lt;br /&gt;&lt;br /&gt;print "Finished sending email&lt;br&gt;";&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;                    &lt;/font&gt;</description><pubDate>Sun, 14 Dec 2008 12:10:09 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in LimeSurvey</title><link>http://www.webhost4life.com/HostingKB/Goto50174.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in config.php in line 69:&lt;br /&gt;&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/6.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Thu, 11 Dec 2008 10:14:29 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in Plogger</title><link>http://www.webhost4life.com/HostingKB/Goto50187.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in plog-functions.php in line 1170&lt;br /&gt;&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/13.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Thu, 11 Dec 2008 10:01:05 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in Support logic</title><link>http://www.webhost4life.com/HostingKB/Goto50188.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;There are 2 steps:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;i) Enter information in /includes/smtp.php in line 54&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;img src="/hostingKB/Uploads/Images/3_1.jpg" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;ii) Enter information in /includes/htmlMimeMail.php in line 139&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;img src="/hostingKB/Uploads/Images/3_2.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Wed, 10 Dec 2008 18:31:41 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in Mambo</title><link>http://www.webhost4life.com/HostingKB/Goto50176.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in admin page -&gt; global configuration -&gt; mail tag&lt;br /&gt;&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/20_1.jpg" /&gt;&lt;br /&gt;&gt;&gt;&gt;&lt;br /&gt;&lt;img src="/hostingKB/Uploads/Images/20_2.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;</description><pubDate>Mon, 01 Dec 2008 17:59:42 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in Crafty Syntax Live Help</title><link>http://www.webhost4life.com/HostingKB/Goto50168.aspx</link><description>&lt;font face="Arial" size="2"&gt;You can enter information in admin page-&gt; Settings -&gt; SMTP Settings &lt;/font&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;Here's screenshot:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;img src="/hostingKB/Uploads/Images/2.jpg" /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Mon, 01 Dec 2008 17:53:44 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Setting up SMTP Authentication in B2Evolution</title><link>http://www.webhost4life.com/HostingKB/Goto50167.aspx</link><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;There are 2 steps:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;i) Enter information in /conf/_advanced.php  - From address in line 178&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;img src="/hostingKB/Uploads/Images/8_1.jpg" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;ii) Enter server setting in line 610 – 613&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;img src="/hostingKB/Uploads/Images/8_2.jpg" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description><pubDate>Mon, 01 Dec 2008 17:47:45 GMT</pubDate><dc:creator>Mark</dc:creator></item><item><title>Do you have Form Mail available for use?</title><link>http://www.webhost4life.com/HostingKB/Goto50118.aspx</link><description>&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;Yes. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="MS Sans Serif" size="2"&gt;Please go to your control panel -&gt; Mail -&gt; Form Mail&lt;/font&gt;&lt;/p&gt;</description><pubDate>Sun, 30 Nov 2008 16:50:56 GMT</pubDate><dc:creator>Mark</dc:creator></item></channel></rss>