|
From: | noreply |
Subject: | [myexperiment-hackers] [2938] trunk/lib/smtp_tls.rb: Added if statement to smtp_tls. rb check_auth_args to allow email to be sent without authentication |
Date: | Wed, 22 Feb 2012 03:10:43 +0000 (UTC) |
Added if statement to smtp_tls.rb check_auth_args to allow email to be sent without authentication
--- trunk/lib/smtp_tls.rb 2012-02-17 16:03:07 UTC (rev 2937)
+++ trunk/lib/smtp_tls.rb 2012-02-22 03:10:42 UTC (rev 2938)
@@ -8,7 +8,7 @@
# http://blog.inspired.no/smtp-error-while-using-gmail-in-rails-271/
if RUBY_VERSION > "1.8.6"
- check_auth_args user, secret # for rails 1.8.7
+ check_auth_args user, secret if user or secret # for rails 1.8.7
else
check_auth_args user, secret, authtype if user or secret
end
[Prev in Thread] | Current Thread | [Next in Thread] |