Hello, i'm franch and i download and install Mantis for my enterprise.
But i don't know how configure this:
$g_phpMailer_method='2';
$g_smtp_host='192.168.0.253';
$g_administrator_email='gael_XX@msn.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='gael_XX@msn.com';
It is good? i don't know if it can work thanx for help
Help Configuration
Moderators: Developer, Contributor
Re: Help Configuration
I never tried using MSN for this, but this could be starting point for you
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.email.msn.com';
$g_smtp_username = 'gael_XX@msn.com';
$g_smtp_password = 'mypassword';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.email.msn.com';
$g_smtp_username = 'gael_XX@msn.com';
$g_smtp_password = 'mypassword';
Re: Help Configuration
ok i change
$g_smtp_host='192.168.0.253';
to 0.11
but the Port is 6025 so in email_api.php, i add:
$g_smtp_host='192.168.0.253';
to 0.11
but the Port is 6025 so in email_api.php, i add:
So can u help me?case 1: $mail->IsSendmail();
break;
case 2: $mail->IsSMTP();
$mail->Port = 6025; {
# SMTP collection is always kept alive
#
$mail->SMTPKeepAlive = true;
Re: Help Configuration
msn is for test i use @ekium.eu (my work) or @gmail.com
Re: Help Configuration
If possible, do never change MantisBT sourcecode like email_api.php
Your changes will be lost when updating.
Use instead configuration which will be kept.
To set the SMTP port add the following to your config_inc.php
$g_smtp_port = 6025;
If you want to try gmail have a look at http://www.mantisbt.org/forums/viewtopi ... =3&t=10331
Your changes will be lost when updating.
Use instead configuration which will be kept.
To set the SMTP port add the following to your config_inc.php
$g_smtp_port = 6025;
If you want to try gmail have a look at http://www.mantisbt.org/forums/viewtopi ... =3&t=10331
Re: Help Configuration
i test :

and i test
i'm desesperate, i have install mantis without probleme, and i don't understand why mail don't work, i make many test
edit: maybe i must wait little time before mail is send? For test, i change some bug state.
don't work<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = 'admekium';
//Configuration des adresses email système
$g_administrator_email='gael.pXXXX@ekium.eu';
$g_webmaster_email=$g_administrator_email;
$g_from_email='gael.pXXXX@ekium.eu';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_username = 'gael.PXXXX@gmail.com';
$g_smtp_password = 'YYYY';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 25; and i test 6025
$g_default_language='french';
$g_short_date_format='d-m-Y';
$g_normal_date_format='d-m-Y H:i';
$g_complete_date_format='d-m-Y H:i';
// Personnalisation de Mantis
$g_window_title='Rapport de bug';
?>
and i test
don't work to// Configuration du mode de mail
$g_phpMailer_method='2';
$g_smtp_host='192.168.0.11';
$g_smtp_port = 6025;
//Configuration des adresses email système
$g_administrator_email='gael.paXXXX@ekium.eu';
$g_webmaster_email=$g_administrator_email;
$g_from_email='gael.paXXX@ekium.eu';
i'm desesperate, i have install mantis without probleme, and i don't understand why mail don't work, i make many test
edit: maybe i must wait little time before mail is send? For test, i change some bug state.
-
edfsoft
Re: Help Configuration
I have fight to configure the email in mantys for a long time.
Finally i resolved the problem
here u r what i write in config_inc.php
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = 'youremail@gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'yourPassword'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
I tell u a tip: my problem was the $g_smtp_port value.
finally i found that 587 works. (I am sending from Argentina, i don`t know if is a diferent port for diferents countries)
i hope this help you
regards from Argentina
Finally i resolved the problem
here u r what i write in config_inc.php
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = 'youremail@gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'yourPassword'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
I tell u a tip: my problem was the $g_smtp_port value.
finally i found that 587 works. (I am sending from Argentina, i don`t know if is a diferent port for diferents countries)
i hope this help you
regards from Argentina