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',
);