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

Re: how to mail an attachment from a script



On Sat, Sep 15, 2001 at 08:25:33AM -0300, Christoph Simon wrote:
| On Fri, 14 Sep 2001 21:24:04 -0700 (PDT)
| "Sean 'Shaleh' Perry" <shalehperry@home.com> wrote:
| > On 15-Sep-2001 dman wrote:
| > > 
| > > I need to set up a script to be run by crontab.  This script needs to
| > > mail a (html) file as an attachment.  How can I do this?  I know mutt
| > > has a '-a <file>' argument, but mail doesn't have this.  This script
| > > needs to run on a FreeBSD box (that I don't have root on) that doesn't
| > > have mutt.
| > 
| > It will involved installing some piece of software.  There are mime tools for
| > this.
| 
| Particularly, there is metasend (comes with metamil) which sends attachments.

Ok, found it.  Thanks!  I also found the FreeBSD package (it's just a
tarball) and unpacked it on the server.  It works too ;-).

-D



Reply to: