Re: [PATCH 3/3] send-email: set SSL options through IO::Socket::SSL::set_client_defaults

2013-12-02 Thread Thomas Rast
Ramkumar Ramachandra writes: > Thomas Rast wrote: >> When --smtp-encryption=ssl, we use a Net::SMTP::SSL connection, >> passing its ->new all the options that would otherwise go to >> Net::SMTP->new (most options) and IO::Socket::SSL->start_SSL (for the >> SSL options). >> >> However, while Net::

Re: [PATCH 3/3] send-email: set SSL options through IO::Socket::SSL::set_client_defaults

2013-12-02 Thread Ramkumar Ramachandra
Thomas Rast wrote: > When --smtp-encryption=ssl, we use a Net::SMTP::SSL connection, > passing its ->new all the options that would otherwise go to > Net::SMTP->new (most options) and IO::Socket::SSL->start_SSL (for the > SSL options). > > However, while Net::SMTP::SSL replaces the underlying socke

[PATCH 3/3] send-email: set SSL options through IO::Socket::SSL::set_client_defaults

2013-12-01 Thread Thomas Rast
When --smtp-encryption=ssl, we use a Net::SMTP::SSL connection, passing its ->new all the options that would otherwise go to Net::SMTP->new (most options) and IO::Socket::SSL->start_SSL (for the SSL options). However, while Net::SMTP::SSL replaces the underlying socket class with an SSL socket, it