[SOLVED] All mails get blocked
Posted: Wed Feb 28, 2007 3:47 am
I'm totally out of ideas with this:
I have not made any changes to any of the swift mailer components and all the mails sent by it get blocked by the receiving end (except for our own domain's mail server, so i know it is actually sending the emails). I'm also testing the htmlMimeMail on side which i'd not like to use since it's rather slow on sending multiple messages, but at least every message i've sent with it has gone through.
here's the parsed headers (left only the places where there's difference)
--- htmlMimeMail ---
Received: from [127.0.0.1] (port=23755 helo=www.ourdomain.com)
Content-Type: text/plain; charset="iso-8859-1"
Message-ID: <je61ov.odg4db@www.ourdomain.com>
--- swift mailer ---
I've edited the ip address, which wasn't on a local network
Received: from [*.*.*.2] (port=23753 helo=www.ourdomain.com)
Reply-To: <mailer@ourdomain.com>
X-Mailer: Swift 2.1.17 by Chris Corbyn
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Message-Id: <E1HMKtj-0001Cx-Qt@Host7.our_isp.com>
And here's the code i've used. As you can see, even the simplest mails get blocked.
require_once ("/bin/Swift.php");
require_once ("/bin/Swift/Connection/SMTP.php");
$connection = new Swift_Connection_SMTP('mail.ourdomain.com',26);
$mailer = new Swift($connection);
$txtpart = "test of most simplicity";
$subject = "simple test 7 ";
$recipient="me@outsiderdomain.com";
$sender = "mailer@ourdomain.com";
$mailer->setPriority(3);
$result = $mailer->send($recipient, $sender, $subject."swift", $txtpart);
I tried to change the priority since the htmlMimeMail sends them as normal and swift seemed to send them as high, although it didn't change anything.
The $result prints out 1, every time.
I haven't tried the new 3.0 yet so this is with the old 2.1.17
If anyone has any idea what might be causing this i'd be more than thrilled to get this thing solved.
I have not made any changes to any of the swift mailer components and all the mails sent by it get blocked by the receiving end (except for our own domain's mail server, so i know it is actually sending the emails). I'm also testing the htmlMimeMail on side which i'd not like to use since it's rather slow on sending multiple messages, but at least every message i've sent with it has gone through.
here's the parsed headers (left only the places where there's difference)
--- htmlMimeMail ---
Received: from [127.0.0.1] (port=23755 helo=www.ourdomain.com)
Content-Type: text/plain; charset="iso-8859-1"
Message-ID: <je61ov.odg4db@www.ourdomain.com>
--- swift mailer ---
I've edited the ip address, which wasn't on a local network
Received: from [*.*.*.2] (port=23753 helo=www.ourdomain.com)
Reply-To: <mailer@ourdomain.com>
X-Mailer: Swift 2.1.17 by Chris Corbyn
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Message-Id: <E1HMKtj-0001Cx-Qt@Host7.our_isp.com>
And here's the code i've used. As you can see, even the simplest mails get blocked.
require_once ("/bin/Swift.php");
require_once ("/bin/Swift/Connection/SMTP.php");
$connection = new Swift_Connection_SMTP('mail.ourdomain.com',26);
$mailer = new Swift($connection);
$txtpart = "test of most simplicity";
$subject = "simple test 7 ";
$recipient="me@outsiderdomain.com";
$sender = "mailer@ourdomain.com";
$mailer->setPriority(3);
$result = $mailer->send($recipient, $sender, $subject."swift", $txtpart);
I tried to change the priority since the htmlMimeMail sends them as normal and swift seemed to send them as high, although it didn't change anything.
The $result prints out 1, every time.
I haven't tried the new 3.0 yet so this is with the old 2.1.17
If anyone has any idea what might be causing this i'd be more than thrilled to get this thing solved.