mh-e. Node: Sending MIME

PREV Other MIME Objects UP Editing MIME next Readying multimedia messages for sending

When you are finished editing a MIME message, it might look like this:

3 24Aug root received fax files on Wed Aug 24 11:00:13 4+ 24Aug To:wohler Test<<This is a test message to get the wh --%%-{+inbox} 4 msgs (1-4) (MH-Folder Show)--Bot------------------- To: wohler cc: Subject: Test of MIME -------- #@application/octet-stream [Nonexistent ftp test file] \ access-type=anon-ftp;; name=panacea.tar.gz; \ directory="/pub/" #audio/basic [Test sound bite] /tmp/ --**-{draft} (MH-Letter)--All--------------------------------------

mh-e MIME draft

The lines added by the previous commands are mhn directives and need to be converted to MIME directives before sending. This is accomplished by the command C-c C-e (mh-edit-mhn), which runs mhn on the message. The following screen shows what those commands look like in full MIME format. You can see why mail user agents are usually built to hide these details from the user.

To: wohler cc: Subject: Test of MIME MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-ID: <> ------- =_aaaaaaaaaa0 Content-Type: message/external-body; access-type="anon-ftp"; site=""; name="panacea.tar.gz"; directory="/pub/" Content-Type: application/octet-stream Content-ID: <> Content-Description: Nonexistent ftp test file ------- =_aaaaaaaaaa0 Content-Type: audio/basic Content-ID: <> Content-Description: Test sound bite Content-Transfer-Encoding: base64 Q3JlYXRpdmUgVm9pY2UgRmlsZRoaAAoBKREBQh8AgwCAgH9/f35+fn59fX5+fn5+f39/f39/f3 f4B/f39/f39/f39/f39/f39+f39+f39/f39/f4B/f39/fn5/f39/f3+Af39/f39/gH9/f39/fn -----{draft} (MH-Letter)--Top--------------------------------------

mh-e MIME draft ready to send

This action can be undone by running C-c C-m C-u (mh-revert-mhn-edit). It does this by reverting to a backup file. You are prompted to confirm this action, but you can avoid the confirmation by adding an argument (for example, C-u C-c C-m C-u).

PREV Other MIME Objects UP Editing MIME next