can't send mail using SMTP with SSL encryption

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rudy
Posts: 10
Joined: 12 Apr 2006, 14:36
Location: Paris

can't send mail using SMTP with SSL encryption

Post by rudy »

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?
Post Reply