Subject: PC-Pine Deletes Temporary File Before Spawning Viewer Application

From: [email-masked] (Merton Campbell Crockett)
Date: Sun, 4 May 1997 14:16:01 GMT

Under Windows95, PC-Pine will spawn a viewer application for an attachment if a 
MAILCAP file is defined.  This seems to work correctly when the sample MAILCAP 
file is used and the attachment is MIME type, Application/msword.  (Well, it 
works if you overlook the fact that Word for Windows 6.0 can't open a file in 
the IM-123456.xxx format used for temporary files.)

If you add another MIME type such as Application/WordPerfect5.1,  PC-Pine does 
decode the Base64 attachment.  It creates the temporary file.  It spawns the 
designated application but unfortunately deletes the file before the 
application can open the file.

Is there any way to prevent this from happening?  Application/MSWORD files are 
for some reason not deleted.

Merton Campbell Crockett
GTE Government Systems, ESD/IOO