If you do want to use perl, you can use dozens of perl modules.
Learn MIME::Parser that will help you in lot of projects.

But to be frank , just for sending attachments you dont need to write a
perl script ( Though it is fairly simple ) . Just use mutt


mutt -a attachment.file -f fromid -s "SUBJECT" toid < content.file

HTH
ram


On Tue, 2004-06-29 at 04:10, jason corbett wrote:
> I have a script that is automated every morning. 
> I want to send this out to the team without logging onto the network and emailing 
> the file from a shell script that i also wrote like this:
>  
> 
> `mailx -s "Email Header" [EMAIL PROTECTED] < filename.txt`;
> 
>  
> 
> so, I hear PEAL has emailing (in attachment format) capabilities? I down-loaded the 
> module MIME::Lite, but I am not sure how to get this going. Can anyone help? Or is 
> there a better (or other) way?
> 
> Regards,
> 
> JC
> 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to