Feature #7919

Adding option to disable activation mail for users created via email unknown_user=create

Added by Poul Thomsen over 8 years ago. Updated over 1 year ago.

Status:ClosedStart date:2011-03-18
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:-
Resolution:Duplicate

Description

Adding an option to disable the mail send out to new users that is picked up by the mail_hander would be a really nice feature

File: app/models/mail_handler.rb

when 'create'
        @user = MailHandler.create_user_from_email(email)
        if @user
          logger.info "MailHandler: [#{@user.login}] account created" if logger && logger.info
#          Mailer.deliver_account_information(@user, @user.password)
        else

Quick solution is just to comment out line 67 (fix kindly provided by Jason B) but an option would be really nice :)


Related issues

Duplicates Redmine - Feature #11498: Add --no-account-notice option for the mail handler script Closed

History

#1 Updated by Toshi MARUYAMA over 8 years ago

  • Category set to Email notifications

#2 Updated by Marco Descher about 5 years ago

+1

#3 Updated by Mischa The Evil over 1 year ago

  • Duplicates Feature #11498: Add --no-account-notice option for the mail handler script added

#4 Updated by Mischa The Evil over 1 year ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

This has long been implemented (via #11498 for 2.3.0) as the --no-account-notice option. Closing this issue as such, in favour of #11498.

Also available in: Atom PDF