Defect #16640
closedEmails are not being sent to recipients for redmine events
0%
Description
We are having issues with Redmine email not being sent.
We have found that a workaround to our issue is to update mailer.rb to explicitly state who the mail is from. For example, we have added the highlighted lines below:
def account_information(user, password)
set_language_if_valid user.language
@user = user
@password = password
@login_url = url_for(:controller => 'account', :action => 'login')
f = "Redmine <#{Setting.mail_from}>"
mail :to => user.mail,
:from => f,
:subject => l(:mail_subject_register, Setting.app_title)
end
We needed to make a similar change in all methods that send out an email. It's not clear to us that this is the correct fix - perhaps there is a setting somewhere that we have missed?
We did not see this problem in redmine 2.3.1, but it appeared after upgrading to 2.5.0.
Environment:Redmine version | 2.5.0.stable |
Ruby version | 1.9.3-p231 (2012-05-25) [i386-mingw32] |
Rails version | 3.2.17 |
Environment | production |
Database adapter | Mysql2 |