google-code-export / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

Forgot Password Link - smtp error #279

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  in class.phpmailer.php changed  var $Mailer ="mail";
to
var $Mailer  = "smtp";
added     var $Host  = "smtp.servername.com";
2. in settings.php
$smtp_server = 'smtp.servername.com';

sendmail installed /configured.
able to send mail via commandline
phpmail installed (php-PHPMailer-5.2.1-2)
able to send mail with phpmailer

restarted httpd deamon

when clicking on the "Forgot Password Link"
Getting Error Message: "SMTP Error: Could not connect to SMTP host."

Can you tell me how to turn on logging or where to look to try and resolve this?

Thanks
S

Original issue reported on code.google.com by shiden.h...@gmail.com on 2 Oct 2012 at 5:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
resolved... SELINUX enabled

/usr/sbin/setsebool -P httpd_can_sendmail on

Original comment by shiden.h...@gmail.com on 16 Oct 2012 at 4:07