Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 25, 2008 - Time to Vote for the August 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2008, 09:45:43 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: php mail not sending to yahoo  (Read 1614 times)
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« on: December 05, 2007, 07:47:46 AM »

When I try to send mail via php mail(), it will not send mail to my yahoo or bellsouth email addresses.  But, it'll send it to my gmail address.  Is there a setting somewhere where it won't send mail to certain domains?
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #1 on: December 05, 2007, 10:05:10 PM »

Hello Otseng,

More than likely, you do not setup sender's email address calling mail() function in PHP. Yahoo and Bellsouth reject emails as they are sent from non-existing email address.
Logged

Kind Regards,
Vlad Artamonov
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #2 on: December 06, 2007, 12:04:07 PM »

I have an email user setup for the sender, but it still is not working.

Could it be that the DNS needs an SPF record? 

http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #3 on: December 07, 2007, 01:56:19 AM »

I have an email user setup for the sender, but it still is not working.

Could it be that the DNS needs an SPF record? 

http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx

SPF would possible help as well. Did you ensure that the from address is being setup by sending the email to yourself and checking the From field in its headers?
Logged

Kind Regards,
Vlad Artamonov
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #4 on: February 06, 2008, 08:12:42 AM »

I think I need to setup domainkeys to send email to yahoo.

http://domainkeys.sourceforge.net/

I can generate the keys, but how do I install the private key?
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #5 on: February 07, 2008, 08:45:32 PM »

I think I need to setup domainkeys to send email to yahoo.

http://domainkeys.sourceforge.net/

I can generate the keys, but how do I install the private key?

Does mail sending to Yahoo via mail client work smoothly? DomainKeys should be configured in the mail server and it is required to know what control panel or mail server is installed on your machine to try to assist more.
Logged

Kind Regards,
Vlad Artamonov
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #6 on: February 08, 2008, 08:23:27 AM »

Does mail sending to Yahoo via mail client work smoothly?
It does not work either.

Quote
DomainKeys should be configured in the mail server and it is required to know what control panel or mail server is installed on your machine to try to assist more.
I'm using Plesk.  How do I determine what mail server is used?
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #7 on: February 08, 2008, 08:41:30 PM »

Hello,

Since you use Plesk, you have qmail installed as the mail server (I assume you are on Linux). What exact happens with emails to Yahoo sent via mail client? Do they get delivered but get into the Junk folder?
Logged

Kind Regards,
Vlad Artamonov
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #8 on: February 09, 2008, 05:24:02 AM »

Hello,

Since you use Plesk, you have qmail installed as the mail server (I assume you are on Linux). What exact happens with emails to Yahoo sent via mail client? Do they get delivered but get into the Junk folder?
Yes, I'm on Linux.  Emails do not even show up in the junk folder.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #9 on: February 10, 2008, 03:44:08 AM »

Hello,

Since you use Plesk, you have qmail installed as the mail server (I assume you are on Linux). What exact happens with emails to Yahoo sent via mail client? Do they get delivered but get into the Junk folder?
Yes, I'm on Linux.  Emails do not even show up in the junk folder.

I would recommend to check mail logs in /usr/local/psa/var/log/maillog to see what's happening with those email, do they get rejected for some reason or does Yahoo accept them.
Logged

Kind Regards,
Vlad Artamonov
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #10 on: February 12, 2008, 06:09:08 AM »

I would recommend to check mail logs in /usr/local/psa/var/log/maillog to see what's happening with those email, do they get rejected for some reason or does Yahoo accept them.
I sent an email to my yahoo account from horde.  Here is the log:

Feb 12 05:58:21 vps qmail: 1202824701.048453 starting delivery 4504: msg 3286390
62 to remote <deleted>@yahoo.com
Feb 12 05:58:21 vps qmail: 1202824701.048532 status: local 0/10 remote 1/20
Feb 12 05:58:22 vps qmail: 1202824702.001557 delivery 4504: success: 216.39.53.1
_accepted_message./Remote_host_said:_250_ok_dirdel/
Feb 12 05:58:22 vps qmail: 1202824702.001734 status: local 0/10 remote 0/20
Feb 12 05:58:22 vps qmail: 1202824702.001879 end msg 328639062

Nothing shows up in my yahoo, including bulk.
Logged
otseng
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« Reply #11 on: February 12, 2008, 02:29:25 PM »

I'm now able to send email from horde.  I was able to debug it by sending an email to:
auth-results@verifier.port25.com

It was blocking delivery because I was using a public wifi hotspot that was email blacklisted.  But I don't know why that would affect email.

Now need to figure out why php mail still will not work.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #12 on: February 12, 2008, 08:48:17 PM »

Hi Otseng,

To check what is going on with emails from PHP scripts, just send them and check the mail logs Wink
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM