Defect #10744 ยป redmine email rake patch.diff
lib/tasks/email.rake | ||
---|---|---|
176 | 176 | |
177 | 177 |
ActionMailer::Base.raise_delivery_errors = true |
178 | 178 |
begin |
179 |
Mailer.deliver_test(User.current)
|
|
179 |
Mailer.deliver_test(user)
|
|
180 | 180 |
puts l(:notice_email_sent, user.mail) |
181 | 181 |
rescue Exception => e |
182 | 182 |
abort l(:notice_email_error, e.message) |