Email Notification on V1.2.8

General discussion of Mantis.

Moderators: Developer, Contributor

Email Notification on V1.2.8

Postby Elyes » Feb 29, 2012 3:22 pm

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.
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am

Re: Email Notification on V1.2.8

Postby atrol » Mar 01, 2012 2:34 am

Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3727
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Email Notification on V1.2.8

Postby Elyes » Mar 01, 2012 3:15 am

Hello
Thanks for your reply.
I've already scanned this post but I've got the same error.
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am

Re: Email Notification on V1.2.8

Postby Elyes » Mar 15, 2012 1:05 pm

Hello,
I'm still waiting for your help.
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am

Re: Email Notification on V1.2.8

Postby atrol » Mar 16, 2012 12:53 pm

Seems that waiting is not the best method to find solutions ;-)

Did you really check all the information from viewtopic.php?f=3&t=15398 ?
Just to be sure, so I don't have to ask questions which are covered by this post.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3727
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Email Notification on V1.2.8

Postby Elyes » Mar 16, 2012 4:06 pm

Hello,
I've solved my problem by adding the extension openssl_dll to my php.ini file.

Thanks.
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am

Re: Email Notification on V1.2.8

Postby atrol » Mar 17, 2012 4:14 am

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.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3727
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Email Notification on V1.2.8

Postby Elyes » Mar 17, 2012 1:09 pm

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?
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am

Re: Email Notification on V1.2.8

Postby atrol » Mar 19, 2012 4:19 am

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
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3727
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Email Notification on V1.2.8

Postby atrol » Mar 29, 2012 8:01 am

Elyes, did you succed in using Exchange?
If not, this might help viewtopic.php?f=9&t=20294#p48399
It's German, but I hope that Exchange administrators will understand what user dirste wrote.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3727
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Email Notification on V1.2.8

Postby Elyes » Mar 29, 2012 9:59 am

Hello,
Unfortunatly, not yet.
We are still investigating internally.
I'll upadate you asap.
Elyes
 
Posts: 35
Joined: Feb 21, 2012 8:31 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron