in reply to Informix ouput mailed without subject?
Depending upon where $execute and %attributes are built, your mail method has a huge potential security problem, as anyone could seed these variables with a harmful string, which would be dutifully parsed by your shell interpreter via your system call.
A far more useful approach to doing all of this is to use any of the stock e-mail modules already in existence and send your message through one of them. See How do I send e-mail from my Perl Program? and How do I send an email with Perl (including an attachment)? for more information.
|
|---|