Php Email Script OR Spam Filter Problem

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
AntoinetteJean
Forum Newbie
Posts: 4
Joined: Thu Jan 25, 2007 8:46 pm

Php Email Script OR Spam Filter Problem

Post by AntoinetteJean »

Hello,

I have a small php script that sends an email. Actually, when I send it to yahoo, hotmail or any account that doesn't use email spam filter the recipient can receive it.

The problem is, I send it to one account and it didn't come thru because the company is using a spam filter. By the way, they are using Microsoft Outlook.

I am suspecting that there is somewhere in MS Outlook that can change the setting so they can receive my php script. Is there any? If yes, where? Is there a command that can ignore the spam filter in php script so the email can still get thru?

Hope someone can enlighten me with this problem as I am totally doomed with this project!

AJ
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I suspect this has something to do with the headers that are sent with the email. You may want to look at a library like Swiftmailer, which has worked out many issues similar to yours AND has its own forum in this wonderful community.
AntoinetteJean
Forum Newbie
Posts: 4
Joined: Thu Jan 25, 2007 8:46 pm

Post by AntoinetteJean »

Thanks. I will try this right away.
AntoinetteJean
Forum Newbie
Posts: 4
Joined: Thu Jan 25, 2007 8:46 pm

Post by AntoinetteJean »

I got this error when I run my smtp2.php
===============================

The mailer failed to connect. Errors:

Code:

Code: Select all

Array
(
    [0] => Array
        (
            [num] => 0
            [time] => 0.86822600 1170453100
            [message] => Connection to the given MTA failed. The Connection Interface said: Address family not supported by protocol
        )

)


Log:

Code:

Code: Select all

Array
(
Post Reply