My cgi scripts are served from apache and they are all in perl. Therefore, I cannot use perl to create or write files as apache does nto allow this. I want to be able to use email to send an array, @ARRAY2 as an attachment. However, Net::SMTP does not seem to allow this from the man pages. However, I am using the Net::SMTP for my mail.
Is there a way to trick Net::SMTP to send a scalar as an attachment. All I want to do is send simple plain text, and yes, it needs to be sent as an attachment and not included with in the body
I thought of using system() commands, but that is just a bad patch. And opening up apache more does not seem like a smart solution either. Further, I am convinced that there is a smart way for perl to be able to deliver a solution, just looking for a few thoughts on how to do this
Thanks,update (broquaint): title change (was The best way to attach a acalar)
In reply to Sending a variable's content as mail attachment by sdyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |