Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook servers OpenSSL::SSL::SSLError: SSL_read: wrong version number #3

Open
izelnakri opened this issue Nov 23, 2013 · 2 comments
Open

Comments

@izelnakri
Copy link

Pony.mail({
:to => 'hidden',
:subject => 'Client Test',
:bcc => 'hidden',
:body => '3 Testing ruby mailing',
:via => :smtp,
:via_options => {
:address => 'smtp.live.com',
:port => '587',
:enable_starttls_auto => true,
:user_name => 'hidden',
:password => 'hidden',
:authentication => :plain, # :plain, :login, :cram_md5, no auth by default
:domain => "localhost.localdomain" # the HELO domain provided by the client to the server
}
})

gives this error OpenSSL::SSL::SSLError: SSL_read: wrong version number. The following code works for the gmail server.

@alexpearce
Copy link

This issue in the Mail gem is related; same error message. The fix therein works for me.

@izelnakri
Copy link
Author

Thanks alot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants