<<< Date Index >>>     <<< Thread Index >>>

Re: sending from command line



On 2003-12-04, Chris Green <chris@xxxxxxxxxxx> wrote:
> On Thu, Dec 04, 2003 at 10:20:21AM +0200, Sybase #3 wrote:

> > Also, I need to send this from command line, through a third party software
> > (datastage). i therefore cannot respond to prompts that mutt may have - it
> > should just send the mail, no questions/verifications needed - (2) Is this
> > possible?
> > 
> 
> Yes, try 'man mutt', that gives you the command line options, but basically
> you need:-
> 
>     mutt -s subject -a attachment <message
> 
> (where attacment and message are filenames)

and recipient's address:

    mutt -s subject -a attachment address <message

Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA