Mail getting clipped by Yahoo as spam

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
fstrnu
Forum Newbie
Posts: 11
Joined: Fri Dec 19, 2003 9:11 am

Mail getting clipped by Yahoo as spam

Post by fstrnu »

Please help. After hours of trying numerous combinations and combing several resources, still can't crack this one and it's ridiculous.

I am using the mail() command and Yahoo! is blocking it as spam. Here is the code that I believe has gotten me the closest:

ini_set(sendmail_from, "me@domain.com");
mail($email_address, $subject, $message);
ini_restore(sendmail_from);

Here is the header that I am getting at the Yahoo e-mail:

X-Apparently-To: recipient@yahoo.com via 216.136.174.83; Sun, 25 Jan 2004 12:44:09 -0800
X-YahooFilteredBulk: 199.231.130.48
Return-Path: <me@domain.com>
Received: from 199.231.130.48 (EHLO web71.expresstech.net) (199.231.130.48) by mta234.mail.scd.yahoo.com with SMTP; Sun, 25 Jan 2004 12:44:08 -0800
Received: from web71 ([127.0.0.1]) by web71.expresstech.net with Microsoft SMTPSVC(5.0.2195.5329); Sun, 25 Jan 2004 15:44:07 -0500
Date: Sun, 25 Jan 2004 15:44:07 -0500
From: me@domain.com Add to Address Book
Subject: Your Password at Domain!
To: recipient@yahoo.com
Return-Path: me@domain.com
Message-ID: <WEB71wYm7ITOZumKXd90001f61a@web71.expresstech.net>
X-OriginalArrivalTime: 25 Jan 2004 20:44:07.0933 (UTC) FILETIME=[FA7EA2D0:01C3E383]
Content-Length: 213

Help, please!
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Are you sending the mail from your computer?

If you are, Yahoo! probably sees all emails originating from home computers (dynamic ips) as being spam.

AOL does this.
fstrnu
Forum Newbie
Posts: 11
Joined: Fri Dec 19, 2003 9:11 am

Post by fstrnu »

Don't think so. Since I'm using the mail() function, doesn't it technically originate from the server side?
microthick wrote:Are you sending the mail from your computer?

If you are, Yahoo! probably sees all emails originating from home computers (dynamic ips) as being spam.

AOL does this.
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

fstrnu wrote:Don't think so. Since I'm using the mail() function, doesn't it technically originate from the server side?
microthick wrote:Are you sending the mail from your computer?

If you are, Yahoo! probably sees all emails originating from home computers (dynamic ips) as being spam.

AOL does this.
Of course.

Sending mail through mail() works on the server-side.

But where is your actual mail server located?
Post Reply