Hi!
I am new to MantisBT, and it looks much butter than our old system!
The MantisBT e-mail systems is working! This means, i get the standard emails (like 'new user', 'confirmation email', and so on...).
But if a report-user reports a new problem, I (the administrator) get no email about this. So the problem waits for allocation to a reviser (e.g. a developer), but I doesn't know, that there is a problem waiting.
I think, I have to config this notification, but I didn't find any information about this.
Thanks for any hints,
Christian.
Activate email notification when new problem was reported.
Moderators: Developer, Contributor
Re: Activate email notification when new problem was reported.
Hi!
I think, I found a solution by myself...
I am the only administrator, and I have only developers and reporters. There are no managers in my system.
I had to enter the following lines in my config_inc.php:
$g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
Now I get an email, when a reporter create a new issue. I am wondering, that I can't set such options in the konfiguration of my MantisBT installation!?
Greetings,
Christian.
I think, I found a solution by myself...
I am the only administrator, and I have only developers and reporters. There are no managers in my system.
I had to enter the following lines in my config_inc.php:
$g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
Now I get an email, when a reporter create a new issue. I am wondering, that I can't set such options in the konfiguration of my MantisBT installation!?
Greetings,
Christian.
-
- Posts: 2
- Joined: 05 Nov 2009, 11:27
Re: Activate email notification when new problem was reported.
Christ,
This is karthi. i'm new to mantis. in which file i need to provide my mail address and mail server name and hence i can receive mail once i registered as a new user. I given my mail address and mail server name in the 'g_smtp_host" and " g_smtp_username" in the config_defaults_inc.php file. but i could not receive any mail. Am i right or need to give this information in some other files?
Can u help me?
Thanks,
karthi.
This is karthi. i'm new to mantis. in which file i need to provide my mail address and mail server name and hence i can receive mail once i registered as a new user. I given my mail address and mail server name in the 'g_smtp_host" and " g_smtp_username" in the config_defaults_inc.php file. but i could not receive any mail. Am i right or need to give this information in some other files?
Can u help me?
Thanks,
karthi.
Re: Activate email notification when new problem was reported.
Hi!
Sorry for the long time you have to wait for my answer, but I had some troubles with mantis myself.
You have to do this in the config_inc.php.
Here is an example of my extensions in my config_inc.php:
***
// *******************************************************************
// Ab hier kommen die von mir hinzugefuegten Konfigurationsaenderungen
// *******************************************************************
// Festlegen der Standardsprache.
// Siehe: http://docs.mantisbt.org/master/en/admi ... tml#AEN748
$g_default_language = 'german';
// E-Mail-Konfiguration:
// Siehe: http://docs.mantisbt.org/master/en/admi ... tml#AEN599
$g_administrator_email = '';
$g_webmaster_email = '';
$g_from_email = '';
$g_return_path_email = '';
$g_phpMailer_method = 'PHPMAILER_METHOD_SMTP';
$g_smtp_host = 'my.mailserver.com';
$g_smtp_port = '';
$g_smtp_connection_mode = '';
$g_smtp_username = '';
$g_smtp_password = '';
// Festlegen wer bei einem neuen Problem benachrichtigt werden soll.
// Siehe: http://docs.mantisbt.org/master/en/admi ... ml#AEN2258
$g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
***
My problem was, that some e-mails worked, and others not. So I changed the system to use my mailserver, and not the php-mail-function. Then I saw always the admin@example.com mail address in my logfile, because I had not defined the $g_return_path_email.
Now the system seems to be working, but I have to make some more tests...
Greetings,
Christian.
Sorry for the long time you have to wait for my answer, but I had some troubles with mantis myself.
You have to do this in the config_inc.php.
Here is an example of my extensions in my config_inc.php:
***
// *******************************************************************
// Ab hier kommen die von mir hinzugefuegten Konfigurationsaenderungen
// *******************************************************************
// Festlegen der Standardsprache.
// Siehe: http://docs.mantisbt.org/master/en/admi ... tml#AEN748
$g_default_language = 'german';
// E-Mail-Konfiguration:
// Siehe: http://docs.mantisbt.org/master/en/admi ... tml#AEN599
$g_administrator_email = '';
$g_webmaster_email = '';
$g_from_email = '';
$g_return_path_email = '';
$g_phpMailer_method = 'PHPMAILER_METHOD_SMTP';
$g_smtp_host = 'my.mailserver.com';
$g_smtp_port = '';
$g_smtp_connection_mode = '';
$g_smtp_username = '';
$g_smtp_password = '';
// Festlegen wer bei einem neuen Problem benachrichtigt werden soll.
// Siehe: http://docs.mantisbt.org/master/en/admi ... ml#AEN2258
$g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
***
My problem was, that some e-mails worked, and others not. So I changed the system to use my mailserver, and not the php-mail-function. Then I saw always the admin@example.com mail address in my logfile, because I had not defined the $g_return_path_email.
Now the system seems to be working, but I have to make some more tests...
Greetings,
Christian.
-
- Posts: 4
- Joined: 15 Dec 2009, 12:26
Re: Activate email notification when new problem was reported.
You do not need to change the config_inc.php.
It's all in the Manage-Tab in Mantis.
You need to go to: "Manage -> Manage Configuration -> E-mail Notifications"
There is some documentation about this page:
http://manual.mantisbt.org/manual.page. ... ations.php
And here is an example:
It's all in the Manage-Tab in Mantis.
You need to go to: "Manage -> Manage Configuration -> E-mail Notifications"
There is some documentation about this page:
http://manual.mantisbt.org/manual.page. ... ations.php
And here is an example:
Click near "Status changes to 'new'" on "developer" "manager" and "administrator" and everyone who has the access level of "developer" "manager" and "administrator" will receive an E-Mail Notification when new Issues are created. This notification can still get disabled by each user in "My Account -> Preferences".
Re: Activate email notification when new problem was reported.
Hi,
Thanks for this information - I was also having problems sending emails on new issues.
I managed to enable this functionality via the gui, but not by editing the config_inc.php (as described below).
When I used the config_inc.php method, the manager square on pafe manage_config_email_page.php was coloured blue, with no tick. What does this mean?
Thanks for any information.
Steven
Thanks for this information - I was also having problems sending emails on new issues.
I managed to enable this functionality via the gui, but not by editing the config_inc.php (as described below).
When I used the config_inc.php method, the manager square on pafe manage_config_email_page.php was coloured blue, with no tick. What does this mean?
Thanks for any information.
Steven