Hi all,
I'm trying to set email notification in mantis for the company i work for. They would like to use SMTP with SSL encryption for this, but i didn't manage to configure mantis properly to use it.
I currently use the following lines in the config_inc.php file:
$g_phpMailer_method = "2";
$g_smtp_host = "ssl://smtp.servername.com";
While trying the mail function in the mantis admin section, i get the following error message:
Testing Mail -
SYSTEM WARNING: fsockopen() expects parameter 2 to be long, string given
PROBLEMS SENDING MAIL TO: rudy.dutilloy@atosorigin.com
Mailer Error: SMTP Error: Could not connect to SMTP host.
Any idea about how to make this work?
can't send mail using SMTP with SSL encryption
Moderators: Developer, Contributor