Skip Menu |

This queue is for tickets about the Test-SMTP CPAN distribution.

Report information
The Basics
Id: 113431
Status: resolved
Priority: 0/
Queue: Test-SMTP

People
Owner: BENNING [...] cpan.org
Requestors: BENNING [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: starttls_ok should pass arguments to IO::Socket::SSL
It should be possible to overwrite IO::Socket::SSL connection parameters with starttls_ok: $smtp->starttls_ok( 'enstablish TLS connection', 'SSL_verify_mode' => SSL_VERIFY_NONE, ); Additional the default starttls inherited from Net::SMTP_auth will not work, because it modifies @ISA: my $status = $smtp->starttls( 'SSL_verify_mode' => SSL_VERIFY_NONE, ); ok( $status, 'enstablish SSL connection'); $smtp->supports_ok( 'AUTH', 'server must support AUTH after STARTTLS'); Will end up with: ... ok 4 - enstablish SSL connection Can't locate object method "supports_ok" via package "Net::SMTP::_SSL" at test-smtp-bug.pl line 23. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 4.
Implemented in release 0.05