InMotion Hosting Support Center

Wordpress - email - Inmotion restrictions on php email?

Category: Wordpress

200 Points
2013-11-11 6:30 pm EST

Hits: 2,041
below is the help for Fast Secure Contact Form Settings, wordpress plugin but they are referring to SERVER restrictions. the FSCF author answered me in their forum and said "yes" the below is true. but I don’t use domain based email, so I haven’t created any on Inmotion. The form seems to be working now. Is Inmotion in the list below with Godaddy? i have an attachment screen capture jpg to show you. can't attach?

Server email address the messages are sent from. Some web hosts do not allow PHP to send email unless the Return-path email address is set. It must be set to a real email address on your site domain, or mail will NOT SEND! (They do this to help prevent spam.) If your form does not send any email, enter your site email address, then test the form again. This setting is required by Dreamhost, GoDaddy, many others, and is also recommended for gmail users to prevent email from going to spam folder.
Enter just an email:
Or enter name and email: webmaster,
For best results the "Email To" and the "Return-path address" should be separate email addresses on the SAME DOMAIN as your web site.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



42,973 Points
2013-11-11 6:48 pm EST
Hello TheBoatPeople,

If you are using PHPMAIL in order to send emails, then it will typically use the account user name and server name as the sending address. For example, However, if you are using SMTP settings to send the email then it would require a valid email account for authentication. We have an article on how PHPmailer works here if you want to compare. The WordPress plugins generally give you the option. However, if you're using SMTP (meaning that you're using a domain email account), then it should still work, but will use your account user name in order to identify the email sender.

The answer to your question is no - the email would still go out, but use the user name on the account as the sender. You would need to provide a link for screenshots if you want use them on the posts in the Support center.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.

You must login before you can post a comment about this answer. link to my real life example. i used the same email in both "Email To:" and "Return-path" address and the forms' send is working, i'm getting (at least some) form messages to the id. so i'm assuming Inmotionhosting is NOT in the same category as Godaddy, (not allowing this to happen).

i have 25, going to 40, domains/sites on my inmotionhosting account. i do NOT want to set domain emails for each account unless i have to, i want to use a hotmail, gmail. yahoo email id. unless inmotionhosting will make some future server changes that makes using email stop working.

this plugin has not settings for phpmailer or SMTP. the plugin, wordpress, or default install of wordpress must have defaults settings. i never did a thing on inmotion to ever set up any email accounts.


200 Points
2013-11-12 7:08 pm EST
Hello Lee,

As you've already discovered on our servers it will allow you specify an email address outside of the domain name you're hosting with us to send email. However please keep in mind, that for the longevity of your mailing activities, it probably wouldn't be advisable to do this.

The reason being is that large mail hosts like will publish SPF records or Sender Policy Framework records, to dictate what mail server IP addresses other mail servers should expect mail from users from to help weed out spam.

That DNS SPF record looks like this for

"v=spf1 ~all"

Each of those include: statements includes a range of IPs, for instance the SPF record looks like this:

"v=spf1 ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ~all"

So even though our server will allow you to use a address as your Return-path address. It will be dependant on the spam policies of the Email to address and its mail server, which could possibly cause the message to get flagged as spam.

For instance, I set the Email to value to my account, and just set the Return-path address to Our server sends out the message without any issue at all, but when looking at the message that ends up on you can see it's detecting a SPF problem:

Received-SPF: softfail ( domain of transitioning does not designate as permitted sender) client-ip=;
spf=softfail ( domain of transitioning does not designate as permitted sender)
Received: from example by with local (Exim 4.80.1)
(envelope-from <>)

It's pretty easy to create an email account or in your case to simply import email accounts from a CSV file. For instance if you had this stored in an emails.csv file:


Then imported it into cPanel, it would create 3 separate email accounts across your domains,,, and in this case all with the same password PasswordHere and a 0 or unlimited mail quota.

This would be your best bet to ensure that even though something might work right this moment, it continues to work going forward for you as well.

- Jacob
9,968 Points
2013-11-12 7:49 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

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!