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

Fix invalid SSL_version error #38

Open
mickeykawai opened this issue Dec 9, 2024 · 0 comments
Open

Fix invalid SSL_version error #38

mickeykawai opened this issue Dec 9, 2024 · 0 comments

Comments

@mickeykawai
Copy link

mickeykawai commented Dec 9, 2024

FYI, the answer by Rod at StackExchange (answered Jan 31, 2016 at 4:27) to just take the default (remove the second parameter) fixed my problem on macOS 15.1.1 Sequoia. The fix enabled to send a test email using Gmail (as explained at Examples, Simple Email:), with Google App password set up on my google account.

Before fix:

invalid SSL_version specified at /System/Library/Perl/Extras/5.34/IO/Socket/SSL.pm line 728.

Fix:

# line 1906 in v1.56 to read

#        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) {
    if (! IO::Socket::SSL->start_SSL($SERVER)) {

After fix:

xxx xx xx:xx:xx mac sendEmail[xxx]: Email was sent successfully!
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

1 participant