Welcome to the InMotion Hosting
Community Support Center!

It's time to get an answer! Our Customer Community Team monitors questions between 9am - 5pm ET, Monday - Friday!

Remember to ask detailed questions to receive better answers. When necessary, include steps we can take to replicate an issue.


PHP Sendmail via External Mail Server

launchnest 7 years ago in Email / Send Email From A Page 0
My site is on a shared linux server. PHP sendmail is working fine from the website currently, but the emails are originating from the shared server address. I would like to use an external mail server to pass the emails through. It looks like PHP mail on linux does not offer this option by default. Are there other options available to me on a shared linux server? Is the PEAR mail package available for use on a shared server?

Getting AJAX/JQuery Contact Form Working

rshill65 7 years ago in Email / Send Email From A Page 0
I have a contact form that uses Ajax, JQuery and PHP as back-end to send an email message without refreshing the page.

I have it working on two separate domains and servers, but cannot seem to get it working here on the inmotion servers.

It is working here:


The only difference I see between my server set-up and inmotion is in the php ini file. I am running PHP 5.2.17 and inmotion is running PHP 5.3.10. Also I have magic_quotes_gpc truned on as well as register_globals and inmotion has both turned off.

I am thinking register_globals being off is the key as the variables trigger the mail send script I wrote.

Any Thoughts. Help is greatly appreciated.

how can i get my form to work

wviera 7 years ago in Email / Send Email From A Page 0

mail failure

darby 8 years ago in Email / Send Email From A Page 0
I have a site the uses an external smtp server (smtpout.secureserver.net) to send email. It has worked fine until 6/29. Now, I'm not getting email from submissions on my site. A look at my error log shows generally why:

[29-Jun-2012 19:38:41] PHP Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: Could not connect to SMTP host.' in /home/master59/php_exe/PHPMailer_5.2.1/class.phpmailer.php:912

Since I have changed nothing on my site recently, and I can still reach/use my smtp server from other computers, I assume there has been a change or problem with your server setup. Can you help me troubleshoot this?


Why doesn't my FormMail work anymore?

kleeh 8 years ago in Email / Send Email From A Page 0
A page that uses your FormMail program recently (as of 6/2/12) started giving me this error:
The system administrator has disabled this script.

I did not disable it, so I'm wondering what's going on. I can certainly write my own script but I don't really have the time and this one served my needs. What happened?

SPF record needed for inmotion hosting SMTP

mouse1999 8 years ago in Email / Send Email From A Page 0
Hi - I have a site that sends an email to us when a customer submits a form.

The email is sent to our gmail apps addresses, using the same domain name. These emails aren't showing anywhere - even in spam in our gmail apps accounts...and I'm pretty sure it is because the SPF record isn't updated to show inmotionhosting as a sender.

I already have the gmail SPF records in our account, and I tried adding the inmotion hosting SPF record but it doesn't seem to be working.

The record that I included is:
v=spf1 include:_spf.inmotionhosting.com ~all

Is this correct, or should I change this?

Thanks in advance

Why does Form Mail email me with empty fields?

Sherrel 8 years ago in Email / Send Email From A Page 0
I added the FormMail.pl pearl script to my cgi-bin folder and made the necessary changes. When I test the contact form I am receiving the email from my website, but info fields are blank. Does anyone have a contact form I can use based on HTML5 and CSS3 that works?

How does SMTP authentication work?

tacit 8 years ago in Email / Send Email From A Page 0
I asked a question this morning. Thank you for your reply. But my problem is as follows:

Suppose I own the domain 123.com and host it on inmotion shared hosting.

I set up 2 email address:

In order to send mail from A@123.com by SMTP, I need to login into Outgoing Mail Server: mail.123.com. This requires authentication. I can use A@123.com as user name and its mail password as password. The question is, after I login as A@123.com, why can I also send an email from B@123.com?

Thank you!!

How can I prevent X-Source and X-PHP-Script email headers?

michaelv8 8 years ago in Email / Send Email From A Page 0
Recently I noticed that all the mails sent via my website include a lot of headers that look like a (potential) security risk to me. You can find the full header below, the tags that concern me are: X-PHP-Script, X-Source, X-Source-Args, X-Source-Dir
These tags include the full path of my home folder, path to php binary etc.

How can I remove/change these headers?

Thanks in advance!

Kind regards,

X-PHP-Script: www.my-website.com/index.php for
From: My Website
Reply-To: My Website
Date: Sun, 05 Feb 2012 11:30:15 +0100
X-LibVersion: 3.3.2
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ecbiz115.inmotionhosting.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [1645 32007] / [47 12]
X-AntiAbuse: Sender Address Domain - ecbiz115.inmotionhosting.com
X-Source: /usr/bin/php
X-Source-Args: /usr/bin/php /home/my_username/public_html/index.php
X-Source-Dir: my-website.com:/public_html