Send mail to hotmail, yahoo or gmail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
j.perovic
Forum Newbie
Posts: 1
Joined: Mon Apr 23, 2007 9:33 am

Send mail to hotmail, yahoo or gmail

Post by j.perovic »

Hi,

I'm having some problems with writing e-mail script. I've kept trying for past 3 months to write script that will send automated e-mails to hotmail, yahoo or gmail accounts. Offcourse, purpose of mails is exclusively regarding registration confirmation - nothing close to some kind of spam. Anyhow, every mail I send eventually ends in Junk mail or never gets to recipient.

My question: is there any way to present my e-mail as legitimate? Although, some of them end in Junk, my main concern is that some never get to recipient. Is there any solution? I've been searching the net from quite some time now any found nothing useful.

Thanks in advance!

Best regards,
Jovan
mentor
Forum Contributor
Posts: 100
Joined: Sun Mar 11, 2007 11:10 am
Location: Pakistan

Post by mentor »

You need to whitelist your mail server IPs from different email service providers like yahoo etc. Or you can join trusted networks (e.g. http://www.habeas.com/) by paying handsome amount.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

how are you sending the emails? Show some code. Also try Swift Mailer to see if it makes your emails look more like emails sent from an actual mail client.

Then check that you are not blacklisted:

http://www.robtex.com/rbls.html

And finally read this.
User avatar
SmokyBarnable
Forum Contributor
Posts: 105
Joined: Wed Nov 01, 2006 5:44 pm

Post by SmokyBarnable »

adding "v=spf1 a mx ~all" to my SPF record in my DNS record seemed to help.
Post Reply