Smoke test error: Message did not send!
Posted: Wed Sep 12, 2007 12:24 am
I just installed SwiftMailer 3.3.1 (PHP4) on a Linux server (shared host) and tried running a couple of the smoke tests. Both resulted in the error: Message did not send! Since I'm new to the whole area of sending emails through a script, the terminology is like Greek to me (i.e., I know a few words, but I'm not conversant in it), and I have no idea what the log information is telling me. Any help figuring out what's wrong would be greatly appreciated!
Here's the (slightly edited for privacy) log information:
The above is with $CONNECTION_TYPE = "smtp". When I change it to "sendmail" I get the following error:
Here's the (slightly edited for privacy) log information:
Code: Select all
Error: Message did not send!
Log Information
++ Log level changed to 4
++ Trying to connect...
++ Trying to connect to SMTP server at 'smtp.mydomain.com:25
<< 220 smtpauth01.csee.onr.siteprotect.com ESMTP
>> EHLO [66.113.130.219]
<< 250-smtpauth01.csee.onr.siteprotect.com
250-PIPELINING
250-SIZE 28672000
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-AUTH=DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
++ SMTP extension 'PIPELINING' reported with attributes [].
++ SMTP extension 'SIZE' reported with attributes [28672000].
++ SMTP extension 'ETRN' reported with attributes [].
++ SMTP extension 'AUTH' reported with attributes [DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN].
++ SMTP extension 'AUTH' reported with attributes [DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN].
++ SMTP extension 'ENHANCEDSTATUSCODES' reported with attributes [].
++ SMTP extension '8BITMIME' reported with attributes [].
++ SMTP extension 'DSN' reported with attributes [].
>> MAIL FROM: <me@mydomain.com>
<< 250 2.1.0 Ok
>> RCPT TO: <me2@mydomain.com>
<< 554 5.7.1 <me2@mydomain.com>: Recipient address rejected: Access denied
!! Expected response code(s) [250] but got response [554 5.7.1 <me2@mydomain.com>: Recipient address rejected: Access denied]
!! Recipient me2@mydomain.com' rejected by connection.
>> RSET
<< 250 2.0.0 OkCode: Select all
Fatal error:
Uncaught Error of type [swift_connectionexception] with message [The sendmail process is not alive and cannot be read from.
Log Information
++ Log level changed to 4
++ Trying to connect...
++ Trying to start a sendmail process.
++ Trying to stat the executable '/usr/sbin/sendmail'.
]
@0 testofbasicsend::go() in /home/www/mydomain/tests/smokes/runTestOfBasicSend.php on line 56
@1 swift::swift() in /home/www/mydomain/tests/smokes/runTestOfBasicSend.php on line 13
@2 swift::connect() in /home/www/mydomain/swift/Swift.php on line 109
@3 swift::command() in /home/www/mydomain/swift/Swift.php on line 227
in /home/www/mydomain/swift/Swift/Errors.php on line 99