Website Form not sending mail (PHP mail)
Website Form not sending mail (PHP mail)
Hello everyone! I've move my site to my vestacp installation, and now form mails are not being send. They used to work on the other hosting they were.
I'm sending mails with PHP mail() function. I've no idea how to solve this. Can anyone help me?
Someone suggest me to look in /var/log/exim4/mainlog there are some lines that says something like message frozen and unroutable address [email protected]
Thank you! I'm completely new to all of this so treat me as if I know nothing.
Thanks again!
I'm sending mails with PHP mail() function. I've no idea how to solve this. Can anyone help me?
Someone suggest me to look in /var/log/exim4/mainlog there are some lines that says something like message frozen and unroutable address [email protected]
Thank you! I'm completely new to all of this so treat me as if I know nothing.
Thanks again!
Last edited by sebasira on Wed Jun 29, 2016 3:02 pm, edited 1 time in total.
Re: Website Form nos sending mail (PHP mail)
You can use this checklist:
0) Blocked port or not?
1) PTR - hosting provider do this thing or in hoster CP.
2) SPF - TXT-record in DNS
3) If you're use IPv6, than PTR/SPF for this too. if don't, disable ipv6 in exim.
4) /etc/resolf.conf -- correct public dns servers like google or yandex
0) Blocked port or not?
1) PTR - hosting provider do this thing or in hoster CP.
2) SPF - TXT-record in DNS
3) If you're use IPv6, than PTR/SPF for this too. if don't, disable ipv6 in exim.
4) /etc/resolf.conf -- correct public dns servers like google or yandex
Re: Website Form not sending mail (PHP mail)
Thank you skurudo, I'll check that and let you know. Before doing that, I want to tell you that I have configured mail as [email protected] and that address is working correctly from roundcube web mail and also as an alias on my Gmail account. I'm telling you that because I think that covers a lot on your checklist. Or that has nothing to do with it?