Try
this:
$mailer = MIME::Lite-new(
From =
$from,
To = $to,
Subject = $subject,
Type =
'multipart/mixed' );
$mailer-attach(Type ='TEXT', Data =""
$emailbody);
$mailer-attach(Type
='TEXT', Path =
$anAttachment, Disposition =
'attachment',
);
$mailer-send('smtp',
Hi Satish,
Satish Kumar wrote:
Hi ScriptKings,
Im a newbie in Perl,
Would like to know following Info:
Can we create
*Perl Scipt to send Mails with Attachments*
Any Tips, Help, Code,Suggestions Guidance are Welcome
The module Mail::Sender is probaply what you are looking for...
This