in reply to sending emails with gmail

You probably like Net::ESMTP better in this case:

Net::ESMTP is a wrapper for SMTP client library libESMTP (written in C). It has clear interface and access to SMTP advanced features like: SASL (authorization), TLS (privacy and authentication), ETRN, DSN etc.

PS: It's nice if you do not change your node. If you want to add/change something, let people know ;)

--
b10m

All code is usually tested, but rarely trusted.