A simple MIME packaging utility
Unlike mpack and mmencode from metamail, it allows you to encode multiple attachments in to a single mail message. You specify attachment filenames on the command line and optionaly (with -m) provide a text message on the standard input (or use the < operator to get it from a file). A base64 encoded multipart message stream is produced to the standard output.
Please note: mpk is purely a back-end tool. You can use it simply by running: mpk *.jpg | sendmail firstname.lastname@example.org, but to specify a subject etc. you need to produce a full SMTP header yourself and send it all together to your local MTA (eg. sendmail).
In a hurry? Add it to your Download Basket!
What's New in This Release:
- This version adds an option to directly send an SMTP message via a local MTA.
- In other words, it can directly send email without need of a pipe to sendmail, much like mpack does.