In my opinion mutt command works better for sending mail with attatchment using shell script then sendmail. I tried to send attatchment using sendmail didn't work for me!
mutt -s "test" -a /root/.bashrc [EMAIL PROTECTED] < /root/greetings --- Cameron Simpson <[EMAIL PROTECTED]> wrote: > On 20:18 17 Sep 2003, David Hart <[EMAIL PROTECTED]> > wrote: > | On Wed, 2003-09-17 at 19:41, Rus Foster wrote: > | > On Wed, 17 Sep 2003, David Hart wrote: > | > > I seem to recall there's a way to send a file > from a shell script but > | > > cannot remember how to do it. > | > > | > If its plain text then just > | > > | > cat filename | sendmail [EMAIL PROTECTED] > | > > | I new there was an animal in there but couldn't > come up with cat. > > Well you don't need it: > > sendmail [EMAIL PROTECTED] < filename > > Cat is a tad overused. > -- > Cameron Simpson <[EMAIL PROTECTED]> DoD#743 > http://www.cskk.ezoshosting.com/cs/ > > What are politicians going to tell people when the > Constitution is gone and > we still have a drug problem? - William Simpson, > ACLU > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list