[prev in list] [next in list] [prev in thread] [next in thread] 

List:       redhat-list
Subject:    Re: Sendmail from Shell Script?
From:       Dali Islam <ibmdali () yahoo ! com>
Date:       2003-09-19 2:15:01
[Download RAW message or body]



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 users@domain.com <
/root/greetings



--- Cameron Simpson <cs@zip.com.au> wrote:
> On 20:18 17 Sep 2003, David Hart <dch@TQMcube.com>
> 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 user@domain.com
> | > 
> | I new there was an animal in there but couldn't
> come up with cat.
> 
> Well you don't need it:
> 
> 	sendmail user@domain.com < filename
> 
> Cat is a tad overused.
> -- 
> Cameron Simpson <cs@zip.com.au> 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:redhat-list-request@redhat.com?subject=unsubscribe
> 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:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic