Page 1 of 1

Email Notification on V1.2.8

Posted: 29 Feb 2012, 20:22
by Elyes
Hello,
when I test sending email via test_email.php I got the following error:

Code: Select all

Testing Mail - PROBLEMS SENDING MAIL TO sample@webmail.com  Please check your php/mail server settings.
Below is my configuration (config_inc.php)

Code: Select all

//config_inc.php
//EMAIL NOTIFICATION
$g_allow_signup    = ON; 
$g_enable_email_notification = ON; 
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
//$g_smtp_connection_mode = 'tls';
//$g_smtp_port = 587;
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 465;
$g_smtp_username = 'sample@gmail.com'; 
$g_from_email= 'sample@gmail.com';
$g_smtp_password = 'sample';
$g_administrator_email = 'sample@gmail.com';

Code: Select all

MantisBT Version:1.2.8
php_version:5.3.9
Windows XP
Please advise.

Re: Email Notification on V1.2.8

Posted: 01 Mar 2012, 07:34
by atrol

Re: Email Notification on V1.2.8

Posted: 01 Mar 2012, 08:15
by Elyes
Hello
Thanks for your reply.
I've already scanned this post but I've got the same error.

Re: Email Notification on V1.2.8

Posted: 15 Mar 2012, 18:05
by Elyes
Hello,
I'm still waiting for your help.

Re: Email Notification on V1.2.8

Posted: 16 Mar 2012, 17:53
by atrol
Seems that waiting is not the best method to find solutions ;-)

Did you really check all the information from http://www.mantisbt.org/forums/viewtopi ... =3&t=15398 ?
Just to be sure, so I don't have to ask questions which are covered by this post.

Re: Email Notification on V1.2.8

Posted: 16 Mar 2012, 21:06
by Elyes
Hello,
I've solved my problem by adding the extension openssl_dll to my php.ini file.

Thanks.

Re: Email Notification on V1.2.8

Posted: 17 Mar 2012, 09:14
by atrol
Reading was better than waiting ;-)
Thanks for coming back and telling the solution.

BTW, do you use XAMPP?

I am asking, because they write it comes with mod_ssl, OpenSSL. This is true, but a) the extension is not enabled and b) it's not contained in php.ini, so you can't just remove the comment sign for the entry.

Re: Email Notification on V1.2.8

Posted: 17 Mar 2012, 18:09
by Elyes
Hello,
I'm using EasyPHP 5.3.9.
The email notification is working fine with Gmail while it failes with Microsoft Exchange.
Giving that MS Exchange is not using SSL, do you think that I have to disable extension=php_openssl.dll
I've tried

Code: Select all

$g_smtp_connection_mode = '';
But in vain.
Any clues?

Re: Email Notification on V1.2.8

Posted: 19 Mar 2012, 09:19
by atrol
Elyes wrote: do you think that I have to disable extension=php_openssl.dll
No
Elyes wrote: Any clues?
I searched the forum for "exchange". Seems that you are not alone with this problem, but none of the posts I read provided an answer.
I have no knowledge of Exchange.
We use phpMailer to send mail via smtp. Maybe using their support channels can help.
http://sourceforge.net/projects/phpmailer
http://sourceforge.net/search/?group_id ... rch=Search

Re: Email Notification on V1.2.8

Posted: 29 Mar 2012, 13:01
by atrol
Elyes, did you succed in using Exchange?
If not, this might help http://www.mantisbt.org/forums/viewtopi ... 294#p48399
It's German, but I hope that Exchange administrators will understand what user dirste wrote.

Re: Email Notification on V1.2.8

Posted: 29 Mar 2012, 14:59
by Elyes
Hello,
Unfortunatly, not yet.
We are still investigating internally.
I'll upadate you asap.