Wordpress - email - Inmotion restrictions on php email?

Category: Wordpress

TheBoatPeople
129 Points
Asked:
2013-11-11 6:30 pm EST

Hits: 996
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.

OTHER ANSWERS

0

Arn
Staff
18,399 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.

Regards,
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.

thanks

lee
TheBoatPeople
129 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:157.55.0.192/26 ip4:157.55.1.128/26 ip4:157.55.2.0/25 ip4:65.54.190.0/24 ip4:65.54.51.64/26 ip4:65.54.61.64/26 ip4:65.55.111.0/24 ip4:65.55.116.0/25 ip4:65.55.34.0/24 ip4:65.55.90.0/24 ip4:65.54.241.0/24 ip4:207.46.117.0/24 ~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 70.39.151.52 as permitted sender) client-ip=70.39.151.52;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning user@hotmail.com does not designate 70.39.151.52 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:

Email,Password,Quota
mail@domain1.com,PasswordHere,0
mail@domain2.com,PasswordHere,0
mail@domain3.com,PasswordHere,0


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
JacobIMH
9,968 Points
Staff
2013-11-12 7:49 pm EST
Like this Question?

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?

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!