If you're sending from an SMTP server on a home user or dynamic IP, you may
need to use your ISPs SMTP server instead. Many (most?) NZ ISPs
intentionally list their broadband IPs in the RBLs to avoid spam being sent
from botnet machines on their networks.

If you are sending from such an IP, your emails will be affected. Look into
smarthosting or configuring PHP to send via your ISPs SMTP server.

The other likely reason is that Yahoo! have decided your (non-dynamic)
originating IP is spammy and are either routing you to the spam folder by
default or simply deferring your mails. If that's the case, you'll need to
find out why they think it's spammy. Is it a shared server being abused by
another customer? Is your webserver relaying email it shouldn't?

Either way, I think the next step for you to debug is to watch your
mailserver logs to see what Yahoo!'s SMTP server is saying when asked to
receive your email.

Yahoo! have a low tolerance of suspected spam - OTOH, in my experience they
respond quickly to reports of false positives too, provided you follow their
set procedures <http://help.yahoo.com/l/us/yahoo/mail/postmaster/index.html>
.

Yahoo! handle Xtra's mail, so the net results of being flagged as spam by
Yahoo! are particularly bad in NZ where Xtra handle a lot of home user
emails.

Good luck!

On Tue, May 19, 2009 at 5:54 PM, henson <[email protected]> wrote:

>
> Hi All,
>
> I'm having this problem with sending HTML mail to my yahoo.com email.
> When I send mail to my yahoo.com mail, somehow, I don't receive it but
> if I send it to my other email like [email protected], I can read it in
> my webmail.  I have been trying different combinations in my header
> but still haven't gotten a solution.
>
> Below is the test code I used:
>
> // recipient
> $to  = '[email protected]' ;
>
> // subject
> $subject = 'Test HTML page sent by PHP mail function';
>
> // message
> $message = '
> <html>
> <head>
>  <title>Birthday Reminders for August</title>
> </head>
> <body>
>  <p>Here are the birthdays upcoming in August!</p>
>  <table>
>    <tr>
>      <th>Person</th><th>Day</th><th>Month</th><th>Year</th>
>    </tr>
>    <tr>
>      <td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
>    </tr>
>    <tr>
>      <td>Sally</td><td>17th</td><td>August</td><td>1973</td>
>    </tr>
>  </table>
> </body>
> </html>
> ';
>
> // To send HTML mail, the Content-type header must be set
> $headers  = 'MIME-Version: 1.0' . "\r\n";
> $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>
> // Additional headers
> $headers .= 'To: Henson <[email protected]>' . "\r\n";
> $headers .= 'From: TestMailer <[email protected]>' . "\r\n";
>
> // Mail it
> mail($to, $subject, $message, $headers);
>
>
> Thanks in advance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to