Page 1 of 1

Php Email Script OR Spam Filter Problem

Posted: Wed Jan 31, 2007 1:21 pm
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

Posted: Wed Jan 31, 2007 6:23 pm
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.

Posted: Fri Feb 02, 2007 2:13 pm
by AntoinetteJean
Thanks. I will try this right away.

Posted: Sun Feb 04, 2007 4:26 pm
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
(