in reply to MIME::Lite::TT::HTML and attachments
G'day swandown,
This is just an untested suggestion based on the documentation for MIME::Lite::TT::HTML and MIME::Lite.
MIME::Lite::TT::HTML - METHODS shows the constructor (new()) returning a MIME::Lite object (with html mail format).
MIME::Lite - Create a multipart message has:
$msg = MIME::Lite->new( ..., Type => 'multipart/mixed' );
followed by $msg->attach(...) calls.
So, perhaps leaving out the $msg->attr(...) is the right thing to do if your constructor looks more like:
$msg = MIME::Lite::TT::HTML->new( ..., Type => 'multipart/mixed' );
-- Ken
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: MIME::Lite::TT::HTML and attachments
by swandown (Novice) on Jan 30, 2013 at 17:20 UTC |
In Section
Seekers of Perl Wisdom