nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Sending "automatic" email


From: David Levine
Subject: Re: [Nmh-workers] Sending "automatic" email
Date: Thu, 24 Apr 2008 09:12:57 -0400

> > Are you looking for this:
> > 
> >   $ mhmail <to> ... -subject <subject> -body <text>
> > 
> 
> Exactly.
> 
> Subsidiary question: if the body consist of something like:
> 
> #application/octet-stream .... <path to my file>
> 
> Will it work as is or do I need to do extra stuff such as MIMEifing the 
> message ?

I don't believe that will work, you will have to MIMEify the
message.  It might be possible to put the body into a temporary
file, run mhbuild on it, and then feed it to the standard input
of mhmail.  (You would not need the -body option in that case.)

David

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]