If you want to send a mail with your perl program, you could have a look on Snippets menu. I produce a program which send a mail by just using socket connexion and control return path mail -> Post by Iguane the 2001-04-09 .
You could like merlin say using another librairy like (MIME::Lite)