you might also consider adding the line below to cover other
image types (if your path to the IBM ib program is different
make the necessary change)
image/*; c:/viewer/bin/ib %s
Something else you might want to try, so any files saved
are saved to a directory of your choosing instead of to the
Yarn Home directory, which is where it would go by default.
Why change? Suppose someone sent you a mime-encoded file
named the same as a file in the home directory: the decoded
file would overwrite your file. Not good.
Create this little file that calls metamail after it first
changes the directory to wherever you want the output saved
(here the d:\inetdata directory) (Make sure there is a d:\inetdata
directory).
Store meta.cmd in the same directory where metamail.exe
is located (in your example it was M:\Jens\Internet\MetaMail)
====cut here=====
/* META.CMD */
/* alters default directory
and then runs metamail*/
parse arg fn
'@echo off'
'd:'
'cd d:\inetdata'
'M:\Jens\Internet\MetaMail\MetaMail' fn
======cut here ======
Then let META.CMD be called by Yarn instead of having Yarn
call metamail.exe directly.
To do that, put this as the decode-mime line
in Yarn's CONFIG file
decode-mime=cmd.exe /c M:\Jens\Internet\MetaMail\meta.cmd %f
Note that you need to call the meta.cmd file with the os/2 command
processor with the /c option, hence the cmd.exe /c
Hope that helps.
-- jlevy@ibm.net Jerry Levy Marblehead, MA (USA)