in reply to SMTP - Needs authentication.
Take a look at
, particularly the auth() method. You need to have the MIME::Base64 and Authen::SASL modules installed for that to work though.