sdyates has asked for the wisdom of the Perl Monks concerning the following question:
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The best way to attach a acalar
by Aristotle (Chancellor) on Dec 16, 2002 at 20:38 UTC | |
|
Re: The best way to attach a acalar
by tachyon (Chancellor) on Dec 16, 2002 at 20:50 UTC | |
|
Re: The best way to attach a acalar
by Ionizor (Pilgrim) on Dec 16, 2002 at 20:34 UTC | |
|
Re: The best way to attach a acalar
by seattlejohn (Deacon) on Dec 17, 2002 at 00:57 UTC |