InMotion Hosting Support Center

PHPMailer is a php script that you can use to send email from a webpage. Use the link below to download PHPMailer 5.2.0

If you're looking for more more information on how to use PHPMailer, please see Using PHPMailer to Send Mail through PHP.

Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2015-09-23 7:46 am

I'm trying to setup my email through MS Outlook 2007 and I keep getting the same error message no matter how I configure it. I've setup many email addresses in the past through Outlook in many different con figurations and I've had great success until now. I'm at a loss. You can see below all I've tried.THESE ARE MY EMAIL ADDRESSES: cto@ecommunlimited.com     sales@ecommunlimited.comsupport@ecommunlimited.com    webmaster@ecommunlimited.comwgs@ecommunlimited.comAll of these email addresses have passwords that match in both cPanel and Outlook.////////////////////////////////////////////////////////////////////////////////////////////////////////THIS IS THE ERROR MESSAGE:Undeliverable: TestSystem AdministratorSent: Wed 9/23/2015 5:42 AMTo: William G. SibertYour message did not reach some or all of the intended recipients.      Subject:    Test      Sent:    9/23/2015 5:42 AMThe following recipient(s) cannot be reached:      'ecommunlimited@gmail.com' on 9/23/2015 5:42 AM            503 Valid RCPT command must precede DATA///////////////////////////////////////////////////////////////////////////////////////////////////////I've tried both of these SSL and NON SSL configurations as well as others:    Incoming Server: secure178.inmotionhosting.com    Outgoing Server: secure178.inmotionhosting.com    Username: cto@ecommunlimited.com    Password: Billsib#16    Incoming Port: POP3 995    Outgoing Mail server (SMTP) Port: 465    SSL: YES    SMTP Authentication Required    Secure Authentication or SPA needs to be turned off        Incoming Server: mail.ecommunlimited.com    Outgoing Server: mail.ecommunlimited.com    Username: cto@ecommunlimited.com    Password: Billsib#16    Incoming Port: POP3 110    Outgoing Mail server (SMTP) Port: 587    SSL: NO    SMTP Authentication Required    Secure Authentication or SPA needs to be turned off///////////////////////////////////////////////////////////////////////////////////////////////////////These are my email options from ny Oscommerce admin panel:E-Mail Transport Method: smtp      E-Mail Linefeeds: LFUse MIME HTML When Sending Emails: false (I used true as well to no avail)Verify E-Mail Addresses Through DNS: false (I used true as well to no avail)Send E-Mails     true/////////////////////////////////////////////////////////////////////////////////////////////////////////I did not install the PHPMailer because I've never needed one before with Oscommerce nor have I needed it with other hosts./////////////////////////////////////////////////////////////////////////////////////////////////////////            I'VE TRIED CHANGING THE MX RECORD FROM: 0  ecommunlimited.com TO THIS: 0  secure178.inmotionhosting.com/////////////////////////////////////////////////////////////////////////////////////////////////////////I'VE TRIED THIS IN BOTH: /home/ecommu5/public_html/BackEnd/includes/classes/email.php & /home/ecommu5/public_html/includes/classes/email.phpif (EMAIL_TRANSPORT == 'smtp') {      require_once(DIR_WS_CLASSES . "email.php");$pMail = new PHPMailer();$pMail->From = $from_addr;$pMail->FromName = $from_name;$pMail->IsSMTP();$pMail->Host = "secure178.inmoitonhosting.com"; // replace with your smtp server$pMail->Username = "cto@ecommunlimited.com"; // replace with your smtp username (if SMTPAuth is true)$pMail->Password = "Billsib#16"; // replace with your smtp password (if SMTPAuth is true)$pMail->SMTPAuth = true; // true/false - turn on/off smtp authentication$pMail->Subject = $subject;$pMail->Body = $this->output;$pMail->AddAddress($to_addr, $to_name);$pMail->IsHTML(false);return $pMail->Send();$pMail->ClearAddresses();$pMail->ClearAttachments();}}      // return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));      // } else {      // return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));      // }      // } /////////////////AND THIS WAY AS WELL IN BOTH: /home/ecommu5/public_html/BackEnd/includes/classes/email.php & /home/ecommu5/public_html/includes/classes/email.php///////////////////if (EMAIL_TRANSPORT == 'smtp') {      require_once(DIR_WS_CLASSES . "email.php");$pMail = new PHPMailer();$pMail->From = $from_addr;$pMail->FromName = $from_name;$pMail->IsSMTP();$pMail->Host = "mail.ecommunlimited.com"; // replace with your smtp server$pMail->Username = "cto@ecommunlimited.com"; // replace with your smtp username (if SMTPAuth is true)$pMail->Password = "Billsib#16"; // replace with your smtp password (if SMTPAuth is true)$pMail->SMTPAuth = true; // true/false - turn on/off smtp authentication$pMail->Subject = $subject;$pMail->Body = $this->output;$pMail->AddAddress($to_addr, $to_name);$pMail->IsHTML(false);return $pMail->Send();$pMail->ClearAddresses();$pMail->ClearAttachments();}}      // return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));      // } else {      // return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers));      // }      // }

Staff
32,263 Points
2015-09-24 9:27 am
Hello William,

Sorry for the problem with the setup of MS Outlook. You may want to review this article - Creating an email account in Outlook 2007. You can find your email settings to use with the email client by going here. If you have further questions, please add a question to the Support Center, or add your question to the related Microsoft article so that other viewers can see your question. Another viewer may often have a solution to your question.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!