Wordpress - email - Inmotion restrictions on php email?

Category: Wordpress

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

Hits: 1,076
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: user1@example.com
Or enter name and email: webmaster,user1@example.com
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.



21,563 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, account5@domain_name.com. 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.

http://imageshack.com/a/img203/8725/jg07.jpg link to my real life example. i used the same @hotmail.com 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 @hotmail.com 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 @hotmail.com 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.


156 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 hotmail.com will publish SPF records or Sender Policy Framework records, to dictate what mail server IP addresses other mail servers should expect mail from @hotmail.com users from to help weed out spam.

That DNS SPF record looks like this for hotmail.com:

"v=spf1 include:spf-a.hotmail.com include:spf-b.hotmail.com include:spf-c.hotmail.com include:spf-d.hotmail.com ~all"

Each of those include: statements includes a range of IPs, for instance the spf-a.hotmail.com 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 @hotmail.com 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 @gmail.com account, and just set the Return-path address to user@hotmail.com. Our server sends out the message without any issue at all, but when looking at the message that ends up on gmail.com you can see it's detecting a SPF problem:

Received-SPF: softfail (google.com: domain of transitioning user@hotmail.com does not designate as permitted sender) client-ip=;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning user@hotmail.com does not designate as permitted sender) smtp.mail=user@hotmail.com
Received: from example by vps1234.inmotionhosting.com with local (Exim 4.80.1)
(envelope-from <user@hotmail.com>)

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, mail@domain1.com, mail@domain2.com, and mail@domain3.com 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?

Support Center Login

Social Media Login

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

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