Re: How to set up MetaMail?

Kim Bergman (bergy1@telusplanet.net)
Thu, 26 Dec 1996 02:10:41 -0700

In article <V8cwyIcj1W3C090yn@image.dk>, jbang@image.dk (Jens Bang) wrote:
>
>In article </oXwyo6G7ChF092yn@ibm.net>, jlevy@ibm.net (Jerry Levy) wrote:
>>To start, these lines are OK
>>>>decode-mime=M:\Jens\Internet\MetaMail\MetaMail %f
>
>Nope, this line is _not_ OK. You have to put MetaMail.exe in a directory in
>your path, and then use
>
>decode-mime=metamail %f
>

decode-mime=g:\somedir\metamail %f works for me as far as getting
metamail to start up and decode the message. Somedir is not on my
path.

>>but here below you should be using forward slashes in the paths,
>>a reflection of the UNIX origins of the metamail program
>>Thus in place of
>>>>text/*; e %s
>>>>image/gif; F:\APPLICATIONS\PMJPEG15\PMJPEG.EXE %s
>>>>image/jpg; F:\APPLICATIONS\PMJPEG15\PMJPEG.EXE %s
>>you should use this
>>text/*; e %s
>>image/gif; F:/APPLICATIONS/PMJPEG15/PMJPEG.EXE %s
>>image/jpg; F:/APPLICATIONS/PMJPEG15/PMJPEG.EXE %s
>
>Or you could use
>
>image/jpeg; F:\\APPLICATIONS\\PMJPEG15\\PKJPEG.EXE %s
>
>i.e. use a double backslash. At least it works here.
>

The metamail.1 file says the backslash can be used to quote
characters in the application pathname, FWIW.

Backslash, forslash, double slash makes no difference here. Neither
does uppercase, lowercase, exe on the path, full pathname to exe.
After I answer Y(es) to Yarn's "Decode mime?" prompt a full screen
session opens and I get:
----------------------------------------------------
From: <a valid adress>
To: <a valid address>
Subjext: <whatever>
Date: <the message date>

SYS1041: The name specified is not recognized as an internal or
external command, operable program or batch file.
Content-Description: <the correct descriptor>

This message contains raw digital data, which can either be viewed as
text or written to a file.
What do you want to do with the raw data?
1. see as text
2. write to file
3. just skip it

<cursor waiting for input>
---------------------------------------------------------------------

The above suggests to me that metamail.exe runs and decodes the
message but there is a problem running the application. It won't run
pmjpeg, pmmpeg, e, a simple REXX test script or anything else.

It will save the extracted file to disk and it will show it as "text"
but it seems that running the apps gives the SYS1041 error. Where
else would the SYS1041 come from?

Has anybody got metamail running the apps? Is metamail broken and
limited to just saving the file or showing it as "text"?

--

Regards,

Kim Bergman (bergy1@telusplanet.net)