Whenever I send an email with the function mail() PHP mail arrives in the SPAM box.
How can I fix this?
1
I believe this is connected with the hosting service you use. I’ve been through the same problem, which ended when I switched the hosting. This could not be your case?
the problem ta on the server IP, when someone spam and uses the same hosting as you, ends up "dirty" the ip. you need to find the companies that put the IP in the Blacklist and ask to remove, but hardly they do that, only when it is own server and not shared. vps use shared hosting. the second solution is to find another hosting and make sure before.
I believe this is connected with the hosting service you use. I’ve been through the same problem, which ended when I switched the hosting. This could not be your case?
– celsomtrindade
I use the PHP Mailer, besides being a rich library, it offers many features missing in the mail function.
– Laerte
the problem ta on the server IP, when someone spam and uses the same hosting as you, ends up "dirty" the ip. you need to find the companies that put the IP in the Blacklist and ask to remove, but hardly they do that, only when it is own server and not shared. vps use shared hosting. the second solution is to find another hosting and make sure before.
– Deivid