Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Two issues with XLSX reporting

by lihao (Monk)
on Sep 27, 2012 at 22:10 UTC ( [id://996085]=note: print w/replies, xml ) Need Help??


in reply to Re: Two issues with XLSX reporting
in thread Two issues with XLSX reporting

Thank you John, I've got another issue fixed. the content_type should be 'application/zip' which resolved my issue.

Replies are listed 'Best First'.
Re^3: Two issues with XLSX reporting
by kinipranav (Initiate) on Nov 28, 2013 at 11:47 UTC
    Lihao, here's what i used and it doesn't work: my $mail = MIME::Lite->new(
    From =>'abc@host.com',
    To =>'abc@host.com',
    #Cc =>'def@host.com',
    Subject =>'Hello!',
    Data =>"How's it goin', eh?",
    Type => 'multipart/mixed',
    content-type.charset => 'UTF-8',
    content-type => 'application/zip'
    );


    $mail->attach(
    Type => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
    #Encoding => 'base64',
    Path => 'report.xlsx',
    #Filename => 'report.xlsx'
    Disposition => 'attachment'
    );

    please advise!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://996085]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found