Hi,
I am using Mantis 1.0.8 and would like to keep all email notifications on except for new user sign-ups - I shouldn't get any mail when an user creates an account. Please let me know how this can be done.
Thanks.
Email Notification Sign Up
Moderators: Developer, Contributor
-
- Posts: 10
- Joined: 27 Sep 2007, 04:59
$g_enable_email_notification
If i turn that off - all email notifications are turned off. I want everything on except new signup notifications.
-
- Posts: 10
- Joined: 27 Sep 2007, 04:59
Ah...I forgot to mention - I am using Joomla and joomla - mantis bridge provided by nuy.info
[http://nuy.info/downloads/index.php?dir ... bo/mantis/]
When a joomla user logins in for the first time in mantis - the mail gets sent.
Is there any other way to turn the notification off?
[http://nuy.info/downloads/index.php?dir ... bo/mantis/]
When a joomla user logins in for the first time in mantis - the mail gets sent.
Is there any other way to turn the notification off?
-
- Posts: 10
- Joined: 27 Sep 2007, 04:59
$g_joomla_enable_email_notification = OFF;
Figured it out - I added this following option:
$g_joomla_enable_email_notification = OFF;
in config_inc.php
and modifed code in core/email_api.php
function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {
if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) ) ) {
return;
}
to be
function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {
if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) )
|| ( OFF == config_get( 'joomla_enable_email_notification' ) )
) {
return;
}
Any better solution would be appreciated. Thanks.
$g_joomla_enable_email_notification = OFF;
in config_inc.php
and modifed code in core/email_api.php
function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {
if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) ) ) {
return;
}
to be
function email_signup( $p_user_id, $p_password, $p_confirm_hash ) {
if ( ( OFF == config_get( 'send_reset_password' ) ) || ( OFF == config_get( 'enable_email_notification' ) )
|| ( OFF == config_get( 'joomla_enable_email_notification' ) )
) {
return;
}
Any better solution would be appreciated. Thanks.