Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone please help me to resolve this issueuse MIME::Lite; my $msg=MIME::Lite->new ( Subject => Test Program', From => $from, To => $to, Type => 'multipart/mixed', ); ### Add the text message part $msg->attach ( Type => 'TEXT', Data => $message_part ) or die "Error adding the text message part: $!\n"; ### Add the csv file $msg->attach ( Type => 'text/xls', Path => "$csv_file", Filename => $filename, Disposition => 'attachment' ) or die "Error in attaching $filename : $!\n"; $msg->send();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using MIME::Lite on Windows
by FunkyMonk (Bishop) on Oct 06, 2007 at 10:08 UTC | |
|
Re: Using MIME::Lite on Windows
by genyded (Novice) on Oct 06, 2007 at 12:45 UTC |