in reply to Re^3: Send e-mail using perl
in thread Send e-mail using perl

Mail::Sendmail also allows you to specify another smtp server, though for gmail they'd need something which supports TLS, Super search has examples.