Error sending message. child exited 67 (user unknown)

This is a discussion on Error sending message. child exited 67 (user unknown) within the Mutt forums in Other Technologies category; Rajiv Bhan <rsb...@gmail.com> wrote: > After running, a pdf report is generated, which I try to send to > my e-mail address using Mutt: > mutt -a report.pdf -s "Report for 2008-Mar-28" > myemailaddr...@mydomain.com < "." I have the same problem in my .bash script: the following command works fine in my script: mutt -s "subject" -a /tmp/test.txt myname@yahoo.com < $2 but if I do MAILLINE="mutt -s \"subject\" -a /tmp/test.txt myname@yahoo.com < $2" and then $MAILLINE I get the (user unknown.) error too. Max...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-29-2008, 03:44 PM
max
Guest
 
Default Error sending message. child exited 67 (user unknown)


Rajiv Bhan <rsb...@gmail.com> wrote:
> After running, a pdf report is generated, which I try to send to
> my e-mail address using Mutt:


> mutt -a report.pdf -s "Report for 2008-Mar-28"
> myemailaddr...@mydomain.com < "."


I have the same problem in my .bash script:

the following command works fine in my script:

mutt -s "subject" -a /tmp/test.txt myname@yahoo.com < $2

but if I do

MAILLINE="mutt -s \"subject\" -a /tmp/test.txt myname@yahoo.com < $2"
and then
$MAILLINE

I get the (user unknown.) error too.

Max
Reply With Quote
  #2  
Old 08-29-2008, 04:47 PM
Jerry Peters
Guest
 
Default Re: Error sending message. child exited 67 (user unknown)

max <maxxx126@gmail.com> wrote:
>
> Rajiv Bhan <rsb...@gmail.com> wrote:
>> After running, a pdf report is generated, which I try to send to
>> my e-mail address using Mutt:

>
>> mutt -a report.pdf -s "Report for 2008-Mar-28"
>> myemailaddr...@mydomain.com < "."

>
> I have the same problem in my .bash script:
>
> the following command works fine in my script:
>
> mutt -s "subject" -a /tmp/test.txt myname@yahoo.com < $2
>
> but if I do
>
> MAILLINE="mutt -s \"subject\" -a /tmp/test.txt myname@yahoo.com < $2"
> and then
> $MAILLINE
>
> I get the (user unknown.) error too.
>
> Max


You can't put the redirection symbol '<' within the quotes, it won't
be recognized as a redirection, so mutt is seeing < and whatever $2
expands to as user names.

If you really want to embed the < within the quotes, you need to eval
$MAILLINE, but you might need to experiment with the syntax since eval
effectively re-scans the expanded variable.

Jerry
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:41 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.