Swift Mailer doesn't mail to Yahoo and Hotmail

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

Swift Mailer doesn't mail to Yahoo and Hotmail

Post by parka »

It seems that I'm unable to send emails to Yahoo and Hotmail accounts.

Gmail account is alright, though.

Any ideas on why this is happening?

I'm just trying the tutorial "Sending a basic email" at http://www.swiftmailer.org/wikidocs/v3/tutorials/basic
But I'm using sendmail instead of SMTP.

I'm running my setup on OSX, 10.5, behind a router, if that makes any difference
Last edited by parka on Mon Apr 14, 2008 12:49 am, edited 1 time in total.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by s.dot »

Hello, it does work.. I send many emails to those domains.
Is your server blacklisted?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by parka »

Not sure about being blacklisted.

Shouldn't be since I'm only sending emails to my own email accounts.

Does blacklisted mean that the emails won't get sent, or the emails will be classified as spam?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by Chris Corbyn »

Are you sending emails from your own computer? If you are, are you connecting to your ISP's SMTP server or using localhost? Using localhost will almost certainly get you in spam blockers since dynamic IP addresses are almost always blacklisted by default.

There are a whole bunch of things to check here too:

http://swiftmailer.org/wikidocs/v3/tips/spam
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by parka »

I'm indeed sending emails using localhost, so it's safe to say that any 192.168.xx.xx addresses will be blacklisted also.

No wonder I had no trouble while testing the site on a server connected directly to cable and not behind a router.

Thanks.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by Chris Corbyn »

parka wrote:I'm indeed sending emails using localhost, so it's safe to say that any 192.168.xx.xx addresses will be blacklisted also.

No wonder I had no trouble while testing the site on a server connected directly to cable and not behind a router.

Thanks.
Being behind a router doesn't make a difference. Your public facing IP is what the SMTP server sees. If your IP that is issued by your ISP is not static then you'll be blacklisted. Even some "static" IP addresses get blacklisted frequently if they are in a range which the blacklist maintainer is seeing trouble patterns with. Huge chunks of Amazon EC2 IP addresses have been blacklisted before. The blacklist maintainer does this to make it clear that whoever is responsible to leasing the addresses needs to moderate the behaviour on them.

Check your IP address here:

http://www.robtex.com/rbl/
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

Re: Swift Mailer doesn't mail to Yahoo and Hotmail

Post by parka »

My test emails finally arrived on Yahoo mail, 22 hours later.

Thanks for the link, it's very useful.
Post Reply