InMotion Hosting Support Center

To comply with current SPAM standards involved with the PHP 'nobody' user, our newer servers that run PHP under Apache do not allow PHP to send mail via the mail() function, which is the default for most software. In order for you to be able to send mail you'll need to configure the software to use SMTP with authentication, similar to how a mail client is set up. Most pre-bundled software packages like Joomla, phpBB, and other CMS's have an option or plugin that will allow you to use SMTP instead of mail() or sendmail. Custom mailing scripts can usually be programmed to use SMTP using PEAR or the popular phpMailer class:

For a phpMailer tutorial, please see this guide:

Using phpMailer to Send Mail through PHP

To use SMTP you will need to use a valid email address that you've created in your cPanel. Most software will ask for these settings:

Hostname: localhost OR

Authentication: Yes


Password: Your email password

Port: 25 / No SSL


Port 465 / SSL

If your software or scripts do not allow you to send via SMTP we can move you to a server that does not have the mail() function disabled. In this case you will need to contact technical support to request a server move. When contacting us, please make sure to include your username and original account password for verification.

Was this article helpful?

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

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2017-02-14 12:54 pm

Phpmailer is now here:

2,858 Points
2017-02-14 2:24 pm
Jim, thank you very much for the updated information! I have updated the article with the new URL.

Post a Comment

Email Address:
Phone Number:

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?


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:
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!