Re: Mutt in a script

2008-12-03 Thread Michael Kjorling
On 3 Dec 2008 13:08 +1100, by [EMAIL PROTECTED] (Peter): > However if I run the same script from a program I am using I get the LOGGER > statement in the messages file but it doesn't send email? Usually when a program works in one environment (command line) but fails in another (script, cron, etc

Re: Mutt in a script

2008-12-03 Thread Chris Green
> However if I run the same script from a program I am using I get the > LOGGER statement in the messages file but it doesn't send email? > > Help would be greatly appreciated. > I had a similar problem running mutt in a shell script via cron. IIRC it was because the system didn't know what to

Mutt in a script

2008-12-02 Thread Peter
Hi all. I know this is most likely a permisions problem but need some help as I am a Windows convert. I have a script /usr/bin/send_mail that fires mutt to send an email. If I run it from command line it works. I put in a line LOGGER: Sent mail which shows up in my /var/log/messages and I

Re: How do I automate mutt in a script?

2000-07-14 Thread David T-G
Gerald -- ...and then Gerald Manipon said... % I am writing a script which uses mutt to create an email with an attachment % with % "mutt -a atfile.doc -s subject [EMAIL PROTECTED]". But it always brings up the Goodie. % vi screen % to enter the message for my body. Is there a way for me to

How do I automate mutt in a script?

2000-07-14 Thread Gerald Manipon
I am writing a script which uses mutt to create an email with an attachment with "mutt -a atfile.doc -s subject [EMAIL PROTECTED]". But it always brings up the vi screen to enter the message for my body. Is there a way for me to create text files with default message bodies, and use the mutt com