[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automated Attachments?



> Does anyone know of a package that lets one specify and e-mail attachment at
> the command line.  For cron jobs and such I frequently do a 'cat {file} | mail
> -s 'Subject' who@where'.  But know I need to automatically send a file as an
> attachment in a e-mail message,  the file is a fixed record length data file
> containing "electronic invoicing" information to another company.  I've looked
> around with apropos and the LSM but haven't found anything that clearly states
> it can do that.  Although metamail and such seem to hint that they can I
> haven't been able to understand much from their man pages.

Check out "uudeview / uuenview" @ http://www.uni-frankfurt.de/~fp/uudeview/

It emails files in MIME or uuencoded format.  I have it working in 
Linux and HPUX both.  We use it nightly, in a cron job, to automatically 
email out sales acknowledgements and order status in PDF format.  

It's also an enhanced uudecode that will decode MIME (Base64) as
well as uuencoded files, and even automatically combine attachments
that are split across mutiple emails.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
--------------------------------------------