Skip to content


Setting up CPAN::Reporter with gmail

First install CPAN::Reporter:

$ cpan
cpan[1]> install CPAN::Reporter
cpan[2]> o conf init test_report
cpan[3]> install Net::SMTP::TLS
cpan[4]> quit

In your home directory you will now have a ~/.cpanreporter/ directory. Edit the ~/.cpanreporter/config.ini file thus:

edit_report=default:ask/no pass/na:no
email_from=mygmailalias@gmail.com
send_report=default:ask/yes pass/na:yes
smtp_server=smtp.gmail.com
transport=Net::SMTP::TLS User mygmailalias@gmail.com Password mygmailpassword Port 587 

In short, you need to add the mail server, port, username and password details to the config. Then it should Just Work.

Posted in geek, perl.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.