MyBB Community Forums

Full Version: How to create a PHP mail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have the problem when I sign up and get an e-mail that this does not work. I currently use
SMTP but that does not work. I can only get emails with my domain. If I use one from
gmail, it will not arrive. That may be due to my e-mail hoster. I wanted to try PHP mail now
and wanted to ask how I can do that.

my forum: https.//blazemc.net/forum
You don't need to provide any settings if you are using PHPmail, it will send by default.
Some host have restriction for PHPmail that it will work only if you have an email associated with the domain.

Regards
WallBB
Hi @WallBB ,
Thank you for the information. It works now. But only if I indicate a domain from my server. If I use an email from Gmail, no email will arrive.

Example:
[email protected]
(Arrives)

[email protected]
(does not arrive)

Is that because of where I hosted my domain? Or is that the forum?


With best regards:
FlexKleks
AFAIK, Gmail will try to check your server's PTR (reverse DNS) record, and will give you a 550 response if fails.

Check your server's mail logs to see what the Gmail server's response is.

Also, you may check following articles:
https://serverfault.com/questions/732187...ptr-record
https://support.google.com/mail/answer/81126