forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: gengdehua on August 02, 2005, 05:44:24 pm
-
I updated mailer.inc.php on following section
$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
But it still does not work. I got massage "Could not connect to smtp host : 111 : Connection refused "
and "PHP Warning: fsockopen(): unable to connect to mail.citidb.com:25 in /home/citidbco/public_html/gallery/include/mailer.inc.php on line 147" from the log.
The configuration I have put in are working fine for me in the email. Other server based email can also be sent using the same configuration.
Thanks for you help.
Oliver
-
There's little we can do to help you fix this, as it depends on server config (the error message you get comes from the smtp service, not from coppermine). I suggest asking your webhost for support.
-
I had the same error and I got it to work by replacing smtp host="localhost" with smtp host="127.0.0.1". It should not have mattered since that was defined in the host file, but it did the trick.