From:	SMTP%"ARNE@ko.hhs.dk" 30-NOV-1994 10:26:41.53
To:	EVERHART
CC:	
Subj:	Re: MIME like mail for VMS?

From: Arne Vajhoej <ARNE@ko.hhs.dk>
X-Newsgroups: comp.os.vms
Subject: Re: MIME like mail for VMS?
Message-ID: <01HK3HDDNHTU8WVZQR@kopc.hhs.dk>
Date: Wed, 30 Nov 1994 16:15:26 +0100
Organization: Info-Vax<==>Comp.Os.Vms Gateway
X-Gateway-Source-Info: Mailing List
Lines: 76
To: Info-VAX@Mvb.Saic.Com

> Can somebody tell me if it is possible to receive MIME formatted mail messages
> in VMS Mail? I know I can receive them, but they are unreadable. Are there
> tools available to extract and convert the messages so that I can read them.
> If something exists which 'replaces' VMS Mail or extends the functionality of
> it, so that it can be done automatically this would be very nice.

I assume you mean: how can I decode BASE64 and "Printed Quotable"
encoded messages !

(MIME is a very general protocol)

For decoding, then try the program mentioned in the old posting attached
below.

Notes:
  - I can not ftp to THUMBER.BELLCORE.COM, but a lot of sites carry
    this code (f.ex. FTP.DENET.DK).
  - I have gotten it to compile - feel free to contact me by mail if
    any problems.

                                                          Arne

Arne Vajhj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%238310013040::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
                WWW URL: http://www.hhs.dk/~arne/arne.html

================================================================================

From:	KOPC::IN%"vaxs09@ALPHA.VITRO.COM" 10-JUN-1994 17:55:52.64
To:	IN%"@vm.uni-c.dk:INFO-VAX@HEARN"  "Multiple recipients of list INFO-VAX"
CC:	
Subj:	RE: BASE64 decoding ?

In article <01HD97V8U1PU8WW07T@ubvms.cc.buffalo.edu>, Ragdol
 <LANT%ALBANY.BITNET@ubvms.cc.buffalo.edu> writes:
>>Some time ago I got a mail that was BASE64 coded, presumably
>>on a VMS machine. Something in the header menthioned MIME.
>
>>There's a program called munpack that will do the job. It compiles
>>under VAX C with a couple of changes.
>
>>ftp.andrew.cmu.edu:/pub/mpack
>
> To add my 2 cents...  I have the same problem.  I was kind of hoping this
 would
> come up.  But what do you do if you don't have VAX C?  Again, I will take any
> software for VMS, UNIX, or DOS.
>
For DOS:

 Try anonymous ftp to thumper.bellcore.com
 file /pub/nsb/mm2.7.dos.zip  (or something very similar).

For VMS/Unix  (requires a C compiler, but other people may be interested)

 Same place
 file /pub/nsb/mm2.7.tar.Z  (or something similar)

In these kits, the piece you want is mmencode.exe

On VMS, it is used as:

        $ mmencode == "$disk:[directory]mmencode.exe"
        $ mmencode -u -b filename [-o outfile]
                    ^  ^
                    |  Base64
                    Decode

On Unix or DOS, it's used the same way, but you don't need to define
the foreign command.  Instead, you just make sure the executable is in
your path.

Other options are -q for "QUOTED-PRINTABLE" encoding/decoding.

        John Briggs                     briggs@vitro.com
