Skip to content

Fix invalid SSL_version error #38

@mickeykawai

Description

@mickeykawai

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions