-
Hello. I am trying to get a web form to work and it seems to work, but I am not receiving the messages in my email.
I have used this test code:
I have tried putting different addresses from different email providers but nothing. They do not even get to the SPAM folder.
When I run that code, on the web I see
Mail accepted for delivery
The server runs Debian testing. I have tried with EXIM4 and sendmail with the same result.
Do you have any ideas?
Thanks.
PD: Of course I have phpmail installed
-
Won't you need SMTP authentication?
-
Don't you need SMTP authentication?
Indeed, it seems that you need authorization from the IP address from which the emails are sent for the servers to accept them. This did not exist in my younger days.
I'm going to see if I'm able to configure this mess.
PD: I edited your message without meaning to, thinking I was quoting. It's back to how it was at the beginning.
-
On my server that is with mercury, the code works perfectly
-
Well, it was indeed about configuring that. For those who might be interested in the future, here's how to configure EXIM4 to use Gmail on Debian: GmailAndExim4 - Debian Wiki