in reply to configure SMTPHost and port into EMAIL module
I would use Net::SMTPS or Net::SMTP, both of which are very simple to use in such a fashion.
Unixish Shell Scripting languages
Other (post in comments)
Results (389 votes). Check out past polls.