PHP forms are not working for Emails on Remote Server

Emiliano

Active Member
May 13, 2011
35
0
56
Orlando, Florida, United States
Hello,

I have a cpanel account and the emails for that cpanel account are on a different server where the emails are pointed with MX records from the Domain settings on the domain registrar.

Now, I have created a few php forms that send emails to the emails set up on the MX server but the emails are not being delivered to that MX server.
I have also tried to change the email on the forms to other emails that i have on the cpanel server and emails there work perfectly fine. Also they do send emails to yahoo/gmail/msn emails without problems.

The problem is that although the MX emails work fine they can't receive emails from submitted PHP forms.

Anyone has encountered this issue previously, that can help me?

I have CSF, CXS firewall and cpHulk installed.

Thank you
 

MikeDVB

Well-Known Member
PartnerNOC
Jun 4, 2008
218
3
68
Indiana, USA
WHM -> Edit DNS Zone -> Choose the domain where the email is hosted remotely -> At the bottom select 'remote' -> Save
[or]
cPanel -> MX Editor -> Choose the domain where email is hosted remotely -> Choose 'remote' -> Save
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :) ,

First contact your hosting provder and ask them to check the mail logs of your account so that you can find out the exact cause of your mail issues. Also I will suggest you please use SMTP authentication in your php forms mail setting and check it.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Hello :)

Yes, please ensure you select "Remote Mail Exchanger" under "Email Routing" via "WHM Home » DNS Functions » Edit DNS Zone" or "cPanel - MX Entry".

Thank you.