http://www.perlmonks.org?node_id=298094


in reply to Send an E-mail using NET::SMTP

A very similar discussion was offered up at Sending Emails With Authentication with three suggestions proposed.