On Your shared webhosting account you may face the issue that you or your website visitors send emails from your website (using some script, web form or similar) but they are not delivered to the destination mailbox.. Why?
The reason can be that:
A) your script is badly written and don't send out emails
B) your e-mails are blocked by the datacenter e-mail filtering system. Edit your script to use SMTP instead of PHP mail() function - https://stackoverflow.com/a/14457410/2504130. Some content management systems have plugins for that. Example, google.com: wordpress smtp mail
C) emails are sent out, but destination mailserver marks emails as a SPAM and prevent delivery. Go to cPanel / Track delivery and "Show All" button, it can tell you more details. If you can see any error, copy and paste it into Google.
D) your "FROM" email address is not the one of your hosting account. As a sender, you should set [email protected], not example [email protected]
E) the server on which is your hosting account is blacklisted, add your hosting domain to this website to check this: http://mxtoolbox.com/blacklists.aspx if blacklisted, please notify hosting provider.
If you have cpanel, you may find out in "File Manager", browse folder /home/youraccountname/mail/new/ and there can be some system emails, one of the email may contain something like this:
This is a sign that your FROM email should be one of your hosting account, [email protected] You can create new email account from your hosting control panel, icon "Email Accounts".
Subject: Mail failure - rejected by local scanning code
A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:
"Relaying not permitted"
Feel free to describe your issue to the instantcpanelhosting support. Mention URL where the e-mail is sent, e-mail address of the recipient.
InstantCpanelHosting.com - hosting from $0.5 monthly
Powered by WHMCompleteSolution