Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

MIME::Lite::TT::HTML Sending attachments as blank

by opensourcer (Monk)
on Feb 23, 2011 at 04:30 UTC ( #889716=perlquestion: print w/ replies, xml ) Need Help??
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', );

Comment on MIME::Lite::TT::HTML Sending attachments as blank
Download Code
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.
        I think I haven't installed all the required modules, not sure checking now.
        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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://889716]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-28 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls