Skip to content

A platform for community discussion. Free, open, simple.

FIX: emails.rake use authentication (#10572)

Jay Pfaffman5e66d7d08254
diff --git a/lib/tasks/emails.rake b/lib/tasks/emails.rake
index 4180658e640..45194afbfd4 100644
--- a/lib/tasks/emails.rake
+++ b/lib/tasks/emails.rake
@@ -86,7 +86,7 @@ task 'emails:test', [:email] => [:environment] do |_, args|
# s.auth_login(smtp[:user_name], smtp[:password])
#end
- Net::SMTP.start(smtp[:address], smtp[:port], 'localhost', smtp[:user_name], smtp[:password])
+ Net::SMTP.start(smtp[:address], smtp[:port], 'localhost', smtp[:user_name], smtp[:password], smtp[:authentication])
rescue Exception => e
if e.to_s.match(/execution expired/)