Re: Prompt override. Multiple attachments
On 2003-11-17, "Theisen, James E" <james.e.theisen@xxxxxxxx> wrote:
> mutts:
> I'm a LINUX developer and a first timer to mutt. I am running mutt from
> within a script:
> mutt -a${attachment.txt"} -s"Subject-string" -i${Body.file}
> email, email, ...
>
> Two problems arise:
> (1) Even though I am supplying variables to the arguments I am still prompted
> to take an action: hit ENTER when it echo's the TO: and the SUBJECT and :wq
> for the body. I need to simply have it run as a part of my automated process.
> (2) I'll need to send multiple attachments in the same email, very small text
> files. Haven't figured the syntax to get that done.
mutt -a${attachment1.txt"} -a${attachment2.txt"} -a${attachment3.txt"}
-s"Subject-string" email, email, ... < ${Body.file}
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA