opensourcer has asked for the wisdom of the Perl Monks concerning the following question:

MIME::Lite::TT::HTML is sending the attachments as blank and when I verified the content-type I found the attachment have been sent as "application/octet-stream".
$msg = MIME::Lite::TT::HTML->new( From => 'arun@Xxxxx.net', To => 'arun@xxxxx.net', Subject => $myhash->{TITLE}, Template => { html => 'Mytemp.ht +ml.tt', }, TmplOptions => \%options, TmplParams => \%params, Type => 'multipart/mixed', ); # Set our content type properly #$msg->attr("content-type" => "multipart/mixed"); # Attaching resume $msg->attach( Type => 'application/msword', Path => 'attachments', Filename => 'some.doc', Disposition => 'attachment', Encoding =>'base64', );

Replies are listed 'Best First'.
Re: MIME::Lite::TT::HTML Sending attachments as blank
by Anonymous Monk on Feb 23, 2011 at 05:01 UTC
      When I say resolved (that means it is resolved). This post is for Attachments.
        When I say resolved (that means it is resolved). This post is for Attachments.

        When ikegami explains the problem, and your next question is this exact problem, then it is not resolved

        This post is for Attachments.

        So was the last one

        I think I haven't installed all the required modules, not sure checking now.