08-30-2017, 10:52 AM
Ok, apparently I don't read so well...
I uncommented line 136 in users/helpers/helpers.php:
$mail->SMTPDebug = 3; // Enable verbose debug output
and that gave me a "failed to instatiate mail function" error on the test page. So that made me think about sendmail vs smtp, which lead me to:
line 138 in users/helpers/helpers.php:
//$mail->isSMTP(); // Set mailer to use SMTP
and uncommented that line, and now email works.
So a small suggestion:
Perhaps "Use sendmail/Use SMTP" should be a drop-down select in Email settings so it's obvious to the UserSpice admin and pulled from the DB, without changing code.
I uncommented line 136 in users/helpers/helpers.php:
$mail->SMTPDebug = 3; // Enable verbose debug output
and that gave me a "failed to instatiate mail function" error on the test page. So that made me think about sendmail vs smtp, which lead me to:
line 138 in users/helpers/helpers.php:
//$mail->isSMTP(); // Set mailer to use SMTP
and uncommented that line, and now email works.
So a small suggestion:
Perhaps "Use sendmail/Use SMTP" should be a drop-down select in Email settings so it's obvious to the UserSpice admin and pulled from the DB, without changing code.