##// END OF EJS Templates
Don't send test email asynchronously....
Jean-Philippe Lang -
r9400:d2378ea641c0
parent child
Show More
@@ -176,7 +176,9 END_DESC
176 176
177 177 ActionMailer::Base.raise_delivery_errors = true
178 178 begin
179 Mailer.deliver_test_email(user)
179 Mailer.with_synched_deliveries do
180 Mailer.deliver_test_email(user)
181 end
180 182 puts l(:notice_email_sent, user.mail)
181 183 rescue Exception => e
182 184 abort l(:notice_email_error, e.message)
General Comments 0
You need to be logged in to leave comments. Login now