opensourcer has asked for the wisdom of the Perl Monks concerning the following question:
my ( $myhash ) = shift; $params{Date} = $myhash->{DATEPOSTED}; $params{Title} = $myhash->{TITLE}; $msg = MIME::Lite::TT::HTML->new( From => 'arun@xxxxxxx.net', To => 'root@xxxxxx.net', Subject => $myhash->{TITLE}, Template => { html => 'sometemp. +html.tt', }, TmplOptions => \%options, TmplParams => \%params, ); # Set our content type properly #$msg->attr("content-type" => "multipart/mixed"); #$msg->attr("content-type" => "text/html"); # Attaching resume $msg->attach( Type => 'application/doc', Path => 'attachments', Filename => 'books.doc', Disposition => 'attachment', );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::xxx sending mail with duplicate discription
by Corion (Patriarch) on Feb 22, 2011 at 18:41 UTC | |
by opensourcer (Monk) on Feb 22, 2011 at 19:14 UTC | |
by ikegami (Patriarch) on Feb 22, 2011 at 19:18 UTC |