summaryrefslogtreecommitdiffstats
path: root/lib/tasks/email.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/email.rake')
-rw-r--r--lib/tasks/email.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index 5e68080f9..2a8542ebe 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -177,7 +177,7 @@ END_DESC
ActionMailer::Base.raise_delivery_errors = true
begin
Mailer.with_synched_deliveries do
- Mailer.deliver_test_email(user)
+ Mailer.test_email(user).deliver
end
puts l(:notice_email_sent, user.mail)
rescue Exception => e