Where in the code Redmine send emails?

Added by Guilherme Noronha about 4 years ago

Hello,

I'm intending to filter the emails sent by redmine (issues and wiki updates) but I didn't find where in the code redmine does it.

Can anyone please tells me the name of unit and in what part of code Redmine send e-mails to users?

Thanks.

Replies (2)

RE: Where in the code Redmine send emails? - Added by Thomas Godard about 4 years ago

This is the model Mailer.rb : http://www.redmine.org/projects/redmine/repository/entry/trunk/app/models/mailer.rb

You will find the functions that send mails such as :
  • deliver_issue_add
  • deliver_issue_edit
  • ...

Redmine will send an e-mail each time one of these functions is called.

RE: Where in the code Redmine send emails? - Added by Guilherme Noronha about 4 years ago

Ok, but where in the controller this functions are called?

(1-2/2)