Reputation: 2129
Hi I am using php mail function to send mails from my contact section. But the mails are not geting me. If i use gmail id its working but if I use any other email ids like [email protected]
not geting.
Upvotes: 1
Views: 504
Reputation: 231
Did you get a chance to check mail logs? There can be a hint to why mails are not going through. If you are running your own server, then a dedicated IP will make sure that you are not having an ip that is blocked by anti spam databases.
Upvotes: 1
Reputation: 1330
It's better to use PHPMailer or Swift Mailer in combination with a smtp server (e.g. gmail). Mail send from php (mail()) is often seen as spam by a lot of spamfilters...
Upvotes: 3
Reputation: 2549
Your smtp server might only send email to a white list of domain name. I had the same issue with a customer smtp. We bought another solution to solve it.
Upvotes: 2