What is the Best Way to Create Attachments using mhonarch?

I use nmh as the user agent for mail and have recently
been asked to send various files to coworkers that contain
attached files full of processed information. I know it can be
done, but I haven't found a linear description of the process.
I recently installed the mhonarch suite to handle MIME messages
better and I know it can build such a message.
It looks like whatnow has an attach command which intuitively
seems like you should just "attach path/file" but I get a rather
cryptic message about a field name that really makes no sense.

Google searches turn up an amazingly small amount of
information and most of that is a string of messages from the
nmh-workers group discussing development issues. Important, but
not what I need.

If there is a good step-by-step description anywhere, I
can probably figure out what I need do to make the shell scripts
I will write to generate these messages.

Thanks for any good ideas. I'd love to read the manual
if I can find one that fills in the gaps.

Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

What is the Best Way to Create Attachments using mhonarch?

On Thu, Nov 30, 2006 at 10:56:57AM -0600, Martin McCormick wrote:
> I use nmh as the user agent for mail and have recently
> been asked to send various files to coworkers that contain
> attached files full of processed information.

Hi Martin,
I know nothing about nmh as I use mutt and with it I just use the file
attachment option and away it goes... So that is what I use but I think
there is a simpler solution if you have the resources:
save the files on a web server (or ftp site) and just post a URL to the
location of the files. This is easiest way for various reasons:
sending large attachments may not get through
the other person may not have the know-how or tools to get the
attachment
so this way they just point the browser, download, and done!
If you need security, you can save the files with password protection
like zip or use apache .htaccess.

also if the file is small enought, why not just send it as part of the
message, if its not binary info.
Cheers,
Kev

--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal | debian.home.pipeline.com |
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keysever: pgp.mit.edu | my NPO: cfsg.org |

What is the Best Way to Create Attachments using mhonarch?

Thanks very much, but this is actually the start of a robot which
will receive mail containing the data to be processed, crunch it,
and "reply" to the sender with the processed data.

Kevin Mark writes:
>but I think
> there is a simpler solution if you have the resources:

This will be a very low volume system with probably 2 or
3 users at the most. Again, thank you for responding.

--

What is the Best Way to Create Attachments using mhonarch?

On Thu, 30 Nov 2006 10:56:57 MDT, Martin McCormick wrote:
> I use nmh as the user agent for mail and have recently
>been asked to send various files to coworkers that contain
>attached files full of processed information.

I use mhbuild(1). I can send you a wrapper script (perl) which lets you
say 'mkmime *.jpg' & the like. But it doesn't involve mhonarc.

Brian Keck

--

Syndicate content