> > 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 [email protected] http://lists.nongnu.org/mailman/listinfo/nmh-workers
