|Perl Monk, Perl Meditation|
Mime::Lite attach issueby jimbus (Friar)
|on Apr 05, 2007 at 19:10 UTC||Need Help??|
jimbus has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, I've got a script that generates an Excel file using Spreadsheet::WriteExcel as well as some graphs with GD::Graph and tries to email them out using Mime:Lite.
The Excel document creates correctly, I can FTP it over and open it correctly, but the document attached to the email, though, is empty. Outlook claims the attachment is 64kb, but when I save it to disk, it is 0kb. The graphs all display in-line and the CSVs I'd been sending just as attachments before the requirements changed worked.
Above is the relavent code... if anyone has any ideas why I can't email this, please let me know... BTW, ls -l on the Path for the offending item shows a file sized 21504.
--Jimbus aka Jim Babcock
Wireless Data Engineer and Geek Wannabe