From: "David Newman" <dnew...@networktest.com>
On 2/6/11 7:57 PM, terry peng wrote:
Sun, 06 Feb 2011 18:18:09 -0800 письмо от David Newman
<dnew...@networktest.com>:
This is a multi-part message in MIME format.
--_----------=_1297044547631150
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
Here's the GIF file you wanted
--_----------=_1297044547631150
Content-Disposition: attachment; filename="filename.csv"
Content-Transfer-Encoding: 8bit
Content-Type: text/csv; name="filename.csv"
This header looks right.
Thus I think it's a problem of the email client, nothing of Perl code.
Since we don't control the client, making assumptions about good or bad
client behavior seems risky.
I receive Excel attachments all the time, and they do not display
inline. I've tried using MIME type 'application/vnd.ms-excel' with the
csv attachment but then the attachment won't open.
Is there some other means of creating an Excel file using perl?
thanks
Create a real Excel file using Spreadsheet::WriteExcel.
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/