nmh-workers
[Top] [All Lists]

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

2008-04-24 06:13:25
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 
______________________________________________________________________


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>