On Sun, Aug 01, 2010 at 06:33:35PM +0200, Christoph Kukulies wrote:
>Am 01.08.2010 18:13, schrieb Jostein Berntsen:
>> On 01.08.10,18:05, Christoph Kukulies wrote:
>>
>>> I'm trying
>>>
>>> mutt -i message.text -s subject -a attachment.jpg recipi...@domain
>>>
>>> Is there a way to do that without being prompted?
>>>
>>>
>> You can try:
>>
>> mutt -s subject -a attachment.jpg recipi...@domain< message.text
>>
>>
>> Jostein
>>
>>
>>
>
>
>Surprise:
>
>k...@post:~$ mutt -s test [email protected] <body.txt
>Error sending message, child exited 1 ().
>Segmentation fault
mutt -d5
And, since it's a segfault, might also try strace of "mutt -d5" doesn't show
any of much use.
cat body.txt | mutt -s "${HOSTNAME}: Subject" [email protected]
... works for me here.
--
Roger
http://rogerx.freeshell.org/