On Sat, Jun 30, 2012 at 07:59:22PM +0100, Mikolaj Kucharski wrote: > Hi, > > Currently Net::SMTP::TLS fails with: > > invalid SSL_version specified at > /usr/local/libdata/perl5/site_perl/IO/Socket/SSL.pm line 308 > > and attached patch fixes the issue. I've noticed the issue a > while ago and during investigation found out that there is > Net::SMTP::TLS::ButMaintained module on CPAN. > > Attached change is from above module, it fixes usage of newer > IO::Socket::SSL which is stricter about options supplied to > SSL_version in socket_to_SSL(). Comments? >
Also Net::SMTP::TLS is based on smtp-cli and its author fix the issue in different way. I'm not sure which way is better. References 1. http://www.logix.cz/michal/devel/smtp-cli/ 2. https://github.com/mludvig/smtp-cli/commit/5247e094ba8e86a82f5397f9e559ff7959f46e13 -- best regards q#