Guys Right now I am using a small php script using mail() command. Please help me how I can make sure that emails are being delivered into Inbox 100%. Which methods to use? GCS
You can't guarantee it. It all depends on your server, if you have an SPF record for your domain that matches your ip, and also if you don't have spammy words in there. There is no way you can guarantee them 100% though
I'd recommend sending it via PHP IMAP, rather than mail(). Why do it with IMAP? It communicates with email accounts and can allow you to send an email from it. For instance, say I had my email (contact@thejoellarson.com) and I wanted it to mail people with a PHP script. I could setup a function using IMAP to connect to the mail server via POP3 or SMTP and email people. It makes it automated and it gets around the header issues that you have to deal with. Hope this helps http://www.devarticles.com/c/a/PHP/Create-Your-Own-Mail-Script-With-PHP-and-IMAP/
Wonderful suggestion. Right now what I did the following to make sure emails are being delivered into Inbox from my php script 1.) Setup a brand new domain (not ever used to sending emails) 2.) Bought brand new hosting for this domain (not using my existing) 3.) Enabled Domainkey & SPF for that domain from cpanel 4.) Got maximum per hour email limit from hosting that is 300 5.) Keeping my outgoing emails 240 per hour (80% of available limit) 6.) Add unique 3 digits at the end of subject to make unique subject for each email 7.) Using 10 seconds timer between each email delivery Here is what I got from google email header By enabling record at least Google is permitting my emails and delivering into Inbox and I will never send bulk and keep this formula. Now I can send 240 x 24 = 5760 emails daily automatically into Inbox. What is your opinion about above? GCS
Some additions to that.. After done with adding the spf you have to personally mail the top required domains like google, yahoo, rediff, and report them about your domain. They will go through the domain records and (if everything is ok) they add it to the allowed list in next 48 hours.
I'll update the rest in sometime... till then Contact yahoo through here http://help.yahoo.com/l/us/yahoo/ma...hoo.com/l/us/yahoo/mail/postmaster/index.html or http://postmaster.yahoo.com/
Generate proper format of spf from here and add it. gmail will let you go through that then... http://old.openspf.org/wizard.html or Also try the spf of gmail apps(but edit the required mx or insted use a domain name) http://www.google.com/support/a/bin/answer.py?hl=en&answer=33786
My SPF and DomaiKey is already enabled and at least for gmail my emails are moving into Inbox. This command "$headers .= "X-Mailer: PHP's mail() Function\n";" is new for me in php email header? My header don't include this line. I have "X-Mailer: PHP 4\r\n" in my header, a little change. GCS
I'd recommend https://winning.email - it'll check your domain/IP for any deliverability issues, and tell you how to fix them.
You CAN send 5760 emails a day - problem you're facing is that as people trigger your emails as spam (there are no other reasons to send emails this regularly, apart from spam-emails), the rating of your domain will go down. And eventually, if enough people mark it as spam, you'll get blacklisted, and the SPF and domain triggers will have f*ck-all to do with anything.
Its not a problem of php, you can use mail function of the php but you should have better server which is not blacklisted.