I wrote a monkeypatch (dirty, I have to confess) so that I could use Test::Reporter as well. They will be available in CPAN at:
In Test::Reporter, a new accessor net_smtp_args
was created which should be filled with a hash ref. If it contains something like:
{ auth => { user => 'me', pass => '***' } }
and Net::SMTP is the current transport, it will attempt to do SASL authentication after opening the connection.
In CPAN::Reporter, the changes allow the code to read from the config file ~/.cpanreporter/config.ini
two config values which get passed into Test::Reporter:
# to do SMTP/SASL authentication, add these to ~/.cpanreporter/config.ini smtp_auth_user=me smtp_auth_pass=***
This is not a permanent solution because CPANT::Testers::Transport::*
is in the works to replace Test::Reporter
which will allow more natural/elegant approaches to that.