Christoph Kukulies | 1 Aug 2010 18:05

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

I'm trying

mutt -i message.text -s subject -a attachment.jpg  recipient <at> domain

Is there a way to do that without being prompted?

--
Christoph

Jostein Berntsen | 1 Aug 2010 18:13
Picon
Gravatar

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

On 01.08.10,18:05, Christoph Kukulies wrote:
> I'm trying
> 
> mutt -i message.text -s subject -a attachment.jpg  recipient <at> domain
> 
> Is there a way to do that without being prompted?
> 

You can try:

mutt -s subject -a attachment.jpg recipient <at> domain < message.text

Jostein

Christoph Kukulies | 1 Aug 2010 18:33

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

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  recipient <at> domain
>>
>> Is there a way to do that without being prompted?
>>
>>      
> You can try:
>
> mutt -s subject -a attachment.jpg recipient <at> domain<  message.text
>
>
> Jostein
>
>
>    

Surprise:

kuku <at> post:~$ mutt  -s test kuku <at> 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'.
(Continue reading)

Jostein Berntsen | 1 Aug 2010 18:49
Picon
Gravatar

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

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  recipient <at> domain
> >>
> >>Is there a way to do that without being prompted?
> >>
> >You can try:
> >
> >mutt -s subject -a attachment.jpg recipient <at> domain<  message.text
> >
> >
> >Jostein
> >
> >
> 
> 
> Surprise:
> 
> kuku <at> post:~$ mutt  -s test kuku <at> 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?
(Continue reading)

rogerx | 1 Aug 2010 19:10
Favicon

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

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  recipient <at> domain
>>>
>>> Is there a way to do that without being prompted?
>>>
>>>      
>> You can try:
>>
>> mutt -s subject -a attachment.jpg recipient <at> domain<  message.text
>>
>>
>> Jostein
>>
>>
>>    
>
>
>Surprise:
>
>kuku <at> post:~$ mutt  -s test kuku <at> validaddress.de <body.txt
>Error sending message, child exited 1 ().
>Segmentation fault

mutt -d5

(Continue reading)

Christoph Kukulies | 1 Aug 2010 19:11

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

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  recipient <at> domain
>>>>
>>>> Is there a way to do that without being prompted?
>>>>
>>>>          
>>> You can try:
>>>
>>> mutt -s subject -a attachment.jpg recipient <at> domain<   message.text
>>>
>>>
>>> Jostein
>>>
>>>
>>>        
>>
>> Surprise:
>>
>> kuku <at> post:~$ mutt  -s test kuku <at> validaddress.de<body.txt
>> Error sending message, child exited 1 ().
>> Segmentation fault
>>
(Continue reading)

Christoph Kukulies | 1 Aug 2010 19:31

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

Am 01.08.2010 19:10, schrieb rogerx <at> 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  recipient <at> domain
>>>>
>>>> Is there a way to do that without being prompted?
>>>>
>>>>
>>>>          
>>> You can try:
>>>
>>> mutt -s subject -a attachment.jpg recipient <at> domain<   message.text
>>>
>>>
>>> Jostein
>>>
>>>
>>>
>>>        
>>
>> Surprise:
>>
>> kuku <at> post:~$ mutt  -s test kuku <at> validaddress.de<body.txt
(Continue reading)

David Champion | 2 Aug 2010 05:52
Favicon

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

* On 01 Aug 2010, Christoph Kukulies wrote: 
> >>
> >>kuku <at> post:~$ mutt  -s test kuku <at> 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
> 
> kuku <at> accms33:~$ mutt -s test -a Bild.jpg me <at> 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 -- me <at> some.org <body.txt

--

-- 
 -D.    dgc <at> uchicago.edu    IT Services    University of Chicago

Scott Jones | 2 Aug 2010 05:56
Picon

sending email to txt

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
at&t cell phone?

I have tried sending to 'number <at> txt.att.net' and it just bounces back,
without delivery.

Please advise!

Scott

Tim Gray | 2 Aug 2010 06:03
Favicon

Re: sending email to txt

On Aug 01, 2010 at 09:56 PM -0600, Scott Jones wrote:
> I have tried sending to 'number <at> txt.att.net' and it just bounces back,
> without delivery.

I think number <at> mms.att.net works.


Gmane