Am 01.08.2010 18:49, schrieb Jostein Berntsen:
On 01.08.10,18:33, 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 k...@validaddress.de<body.txt
Error sending message, child exited 1 ().
Segmentation fault



This should work. Maybe you could try to upgrade mutt to the most recent
version 1.5.20?

I tried it on another machine (ubuntu) and there it says

k...@accms33:~$ mutt -s test -a Bild.jpg m...@some.org <body.txt
Keine Empfänger angegeben.


(which means no reciepient given)


k...@accms33:~$ mutt -v
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.24-27-386 (i686)
ncurses: ncurses 5.6.20071124 (compiled with 5.6)
libidn: 1.1 (compiled with 1.1)
Einstellungen bei der Compilierung:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK
-USE_POP  -USE_IMAP  -USE_SMTP
-USE_SSL_OPENSSL  -USE_SSL_GNUTLS  -USE_SASL  -USE_GSS  -HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
-EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
Um die Entwickler zu kontaktieren, schicken Sie bitte
eine Nachricht (in englisch) an <mutt-...@mutt.org>.
Um einen Bug zu melden, besuchen Sie bitte http://bugs.mutt.org/.

Reply via email to