Thursday 08 February 2007 5:22:09 pm
I'm having trouble getting ezpublish to send mail. I generate the email from the standard "contact us" page. No email comes through, though, and when new users register they're not being sent an email, either. The error in the log is: [ Feb 08 2007 14:38:56 ] [192.168.1.64] eZSMTPTransport::sendMail():
Error sending SMTP mail: Not connected!
<b>System Information</b>
I'm running Debian Etch.
A port check from an external machines shows connection is refused on port 25 (I don't know if that's right or wrong for this port)
iptables has an ACCEPT policy for output
sendmail is not installed, but I just noticed exim4 is. phpinfo() shows Path to sendmail /usr/sbin/sendmail -t -i
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP smtp.example.com smtp.example.com
smtp_port 25 25
site.ini.append.php includes: [MailSettings]
Transport=SMTP
TransportServer=smtp.example.com
[email protected]
TransportPassword=mypassword
[email protected]
[email protected]
A simple user error, I'm sure, but I'm having trouble figuring it out. Thank you for any suggestions.
===== Update: I haven't received any replies yet, so let me ask the question more broadly. Does it appear I've at least got php set up to handle mail properly, or should I study php's mail facility more and see what I've done wrong? Or could this be a simple permissions error? Any suggestions on where I should start? Many thanks!
Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog
|