Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by opensourcer (Monk)
on Feb 23, 2011 at 04:30 UTC ( [id://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', );

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found