PHP mail function (2)

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 hr@sbnphpjobs.com not geting.

Answers


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...


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.


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.


Need Your Help

How to write java program to convert html into xml

java html xml

I have an HTML file which contains java script and HTML tags. I want to convert that HTML file into XML file. As XML file is used only to store data. so java script will be ignored. I want to write...

How to get driving direction data in iOS6?

ios map routes direction

I would like to draw a route between 2 points (current location and a selected annotation) from UIMapView.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.