sending an email with a mutt one-line without being prompted

2010-08-01 Thread Christoph Kukulies

I'm trying

mutt -i message.text -s subject -a attachment.jpg  recipi...@domain

Is there a way to do that without being prompted?


--
Christoph


Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread 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





Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread Christoph Kukulies

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



post:~# mutt -v
Mutt 1.5.13 (2006-08-11)
Copyright (C) 1996-2006 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.18-6-486 (i686) [using ncurses 5.5] [using libidn 
0.6.5 (compiled with 0.6.5)]

Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK   +USE_INODESORT
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL_OPENSSL  +USE_SSL_GNUTLS  
+USE_SASL  +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

-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR

+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
-ISPELL
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
MIXMASTER=mixmaster
To contact the developers, please mail to mutt-...@mutt.org.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.11.rr.compressed.1
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.5.1.nt.xtitles.3.ab.1
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.6.tt.assumed_charset.1




Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread 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?


Jostein





Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread rogerx
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 k...@validaddress.de 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 b...@me.com

... works for me here.

-- 
Roger
http://rogerx.freeshell.org/


Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread Christoph Kukulies

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.debody.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/.



Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread Christoph Kukulies

Am 01.08.2010 19:10, schrieb rog...@sdf.org:

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 k...@validaddress.debody.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 b...@me.com

... works for me here.

   


No difference with me here whether through pipe or stdin redirect.

I opened a can of worms obviously. On the target system (debian) the 
stock  mutt-1.5.20.tgz doesn't compile because
it can't find libcurses. I have libncurses5 installed. Maybe patches are 
required for debian?


A newer package for debian (unless I compile from sources) doesn't seem 
to exist.


Any debian experts here?  I'm getting error 404 when trying to install 
further packages (e.g. strace) . Maybe I got to extend 
/etc/apt/sources.list?


--
Christoph




Re: sending an email with a mutt one-line without being prompted

2010-08-01 Thread David Champion
* On 01 Aug 2010, Christoph Kukulies wrote: 
 
 k...@post:~$ mutt  -s test k...@validaddress.debody.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.

Syntax has been changed: -a indicates a *list* of attachment files
ending with --. I don't recall which version was first to boast this
new syntax, but it's the problem you're seeing right now even if it's
not related to the problem you saw earlier.

Try:

mutt -s test -a Bild.jpg -- m...@some.org body.txt

-- 
 -D.d...@uchicago.eduIT ServicesUniversity of Chicago


sending email to txt

2010-08-01 Thread Scott Jones
To piggyback off the current thread, anyone know how I could from my
email client, mutt, et al, send a simple email and send as text to an
att cell phone?

I have tried sending to 'num...@txt.att.net' and it just bounces back,
without delivery.

Please advise!

Scott


Re: sending email to txt

2010-08-01 Thread Tim Gray

On Aug 01, 2010 at 09:56 PM -0600, Scott Jones wrote:

I have tried sending to 'num...@txt.att.net' and it just bounces back,
without delivery.


I think num...@mms.att.net works.


Re: sending email to txt

2010-08-01 Thread Scott Jones
On Sun, Aug 1, 2010 at 10:03 PM, Tim Gray lists+m...@protozoic.com wrote:
 On Aug 01, 2010 at 09:56 PM -0600, Scott Jones wrote:

 I have tried sending to 'num...@txt.att.net' and it just bounces back,
 without delivery.

 I think num...@mms.att.net works.


Thanks Tim. That worked, but I received my test text as an mms
message, instead of just txt.. but 'num...@txt.att.net' didn't work..
I just hope in sending an mms message I am not billed differently.


Re: sending email to txt

2010-08-01 Thread Tim Gray

On Aug 01, 2010 at 10:20 PM -0600, Scott Jones wrote:

Thanks Tim. That worked, but I received my test text as an mms
message, instead of just txt.. but 'num...@txt.att.net' didn't work..
I just hope in sending an mms message I am not billed differently.


Don't know.  I do know that they txt address used to work, but recently my 
brother texted my email address by accident and it came through with the mms 
address instead.


We have unlimited texting and mms'ing, so it doesn't really matter for us. 
Hope you don't get hit with a silly bill.