Re: how to mail an attachment from a script
On Sun, Sep 16, 2001 at 05:32:17AM +0200, Sven Hoexter wrote:
| On Sat, Sep 15, 2001 at 10:35:41PM -0400, dman wrote:
| > On Sat, Sep 15, 2001 at 05:43:29PM -0700, Alvin Oga wrote:
| > |
| > | to send an attachment via cron or any script
| > |
| > | create the attachment...say /tmp/a.html
| > |
| > | echo "this is a text msg and attachment " |
| > | mutt -s "Testing attachment=a.html" -a /tmp/a.html
| > |
| > | a.html can be foo.jpg too and i think it did the "right thing"...
| >
| > Yeah, but mutt isn't on that system :-(. Thanks anyways.
| apt-get install mutt
| will fix it ;-)
I guess you missed my first post. That system is a FreeBSD system (no
apt-get) and I don't have root permission on it.
I have a solution now, though, using 'metasend'.
-D
Reply to: