in reply to SMTP authentication
There are a few client modules on CPAN, searching shows smtp and smtps.