PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have designed a contact page everything seems to be work except that the email isn't getting through to the intend recipient. The sent mail logs show that the email was sent from the form, but the email is never received. I have used this same form for other websites, but for this one site I have having problems. Am I missing something or is the issue with the host site or some other problem? Here is the code I am using.
In the sendmail log it has four headers: Email Subject, Script, Request IP and Date.
The log has Email subjects and dates of emails sent, but nothing in the Script and request IP.
I tried a couple of email address and the same problem. I wonder if it is the webhost. I am using 1freehosting. Anythoughts on this hosting site? The reason I am wondering if it is the hostsite is because I have used the same script for a few other sites and have no problems. It is only for this one website.
Celauran, would it be on the receiving or sending side of the email that I need to have SPF on?
You'd need to enable it at the hosting level. Take a look at this article and this utility. Your hosting provider should be able to help if you're having difficulty getting this set up for your domain.
I know this is an old post, but if you're still using that contact form, you're going to have issues with the new DMARC standards, they been enabled at GMAIL and YAHOO.