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!