mails not being sent, but are?
Posted: Thu Sep 13, 2007 12:48 pm
ok, i'll try to keep this brief with bullets, it's very weird.
i'm testing with both apache 2.2.4 and lighttpd 1.4.18
- swift 3.1.1 php5 does not work with either
- swift 3.3.1 php5 works with lighttpd, does not work with apache.
- i'm using flyspray, you can see the source code in the class.notify.php that they use in their release 9.9.3
- i've tried both postfix and exim, and both logs say that the email was sent properly
even though the logs say the email was sent, i only receive the notification email when it is down through lighttpd, and not through apache. oddly enough, if i use the following test script i wrote:
both apache and lighttpd work.
any ideas of what might be causing this? or is there any more info you'd like me to provide?
i'm testing with both apache 2.2.4 and lighttpd 1.4.18
- swift 3.1.1 php5 does not work with either
- swift 3.3.1 php5 works with lighttpd, does not work with apache.
- i'm using flyspray, you can see the source code in the class.notify.php that they use in their release 9.9.3
- i've tried both postfix and exim, and both logs say that the email was sent properly
even though the logs say the email was sent, i only receive the notification email when it is down through lighttpd, and not through apache. oddly enough, if i use the following test script i wrote:
Code: Select all
<?php
require_once "lib/Swift.php";
require_once "lib/Swift/Connection/SMTP.php";
$swift =& new Swift(new Swift_Connection_SMTP("localhost"));
$message =& new Swift_Message("My subject", "My body");
if ($swift->send($message, "me@me.com", "me@me.com")) echo "Sent";
else echo "Failed";
?>any ideas of what might be causing this? or is there any more info you'd like me to provide?