http://www.perlmonks.org?node_id=889743


in reply to Re^2: MIME::Lite::TT::HTML Sending attachments as blank
in thread MIME::Lite::TT::HTML Sending attachments as blank

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

Replies are listed 'Best First'.
Re^4: MIME::Lite::TT::HTML Sending attachments as blank
by opensourcer (Monk) on Feb 24, 2011 at 07:08 UTC
    The problem occurred due to missing of file name in Path attribute for attachments
    see below.
    $msg->attach( Type => 'application/msword', Path => '/path/some.doc',#<absolute path+filename>, if +you miss out some.doc then attachment goes as blank Filename => 'some.doc', # filename Disposition => 'attachment', Encoding =>'base64', );