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

SSL version option #659

Closed
AlexRevin opened this issue Feb 1, 2014 · 6 comments
Closed

SSL version option #659

AlexRevin opened this issue Feb 1, 2014 · 6 comments

Comments

@AlexRevin
Copy link

Hello

As MS Outlook does not correctly work with default ssl context on both Mac and Debian

I suggest adding a :ssl_version option, so that this hack could be avoided

context.ssl_version = :SSLv3

in lib/mail/network/delivery_methods/smtp.rb

AlexRevin@a12f77d#diff-e3729936fa9291d1a4ff988ac78acc12

@alexpearce
Copy link

I can confirm this bug, and that the fix provided solves the problem.

Thanks Alex!

@fwitzke
Copy link

fwitzke commented Feb 3, 2014

+1

alexpearce added a commit to alexpearce/mail that referenced this issue Feb 16, 2014
@AlexRevin
Copy link
Author

I think passing it in such a straightforward way can break implementations with older SSL versions.

@alexpearce
Copy link

I expect so. Allowing the user to specify it when needed, or detecting it, would be ideal.

Apologies for the previous spam from me, I forked for private gem usage.

@prusswan
Copy link

prusswan commented Jun 2, 2014

I'm only getting this error on Ubuntu 14.04 and not 12.04, so it seems this only happens on the newer systems.

@jeremy
Copy link
Collaborator

jeremy commented May 17, 2017

Open to PRs to expose the SSL context for custom config. Workaround in the meantime: use the SMTP connection delivery method instead and pass your own SMTP connection that you've manually configured. Other workaround: modify Net::SMTP.default_ssl_context to suit.

@jeremy jeremy closed this as completed May 17, 2017
stanhu added a commit to stanhu/mail that referenced this issue Apr 9, 2019
stanhu added a commit to stanhu/mail that referenced this issue Apr 9, 2019
stanhu added a commit to stanhu/mail that referenced this issue Apr 9, 2019
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

Successfully merging a pull request may close this issue.

5 participants