On Wed, Oct 11, 2000 at 03:53:51PM -0400, Jean-Paul Laberge ([EMAIL PROTECTED]) 
wrote:
> Hi,
> 
> I'd like to know how to use 'mutt' in batch mode, without a user
> intervention.  I use the following command:
> 
> mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca
> 
> but I'm always going in the user interface.

It expects something on STDIN.

It makes sense if you don't attach something, that this:

  mutt -s "test" [EMAIL PROTECTED]

take you into the UI, but this:

  mutt -s "test" [EMAIL PROTECTED] < content.txt

not do so. If you *only* want to send an attachment but without any
message body, then

  mutt -a attached.txt -s "test" [EMAIL PROTECTED] < /dev/null

Cheers,

  -Rich

-- 
------------------------------ Rich Lafferty ---------------------------
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC                 (514) 848-7625
------------------------- [EMAIL PROTECTED] ----------------------

Reply via email to