Re: mailcap.win32
Syafril Hermansyah <[email protected]> Fri, 21 Feb 2003 22:08:45 +0700
| Newsgroups | gmane.mail.sylpheed.claws.windows |
|---|---|
| Organization | Duta Integrasi Pratama - Indonesia |
| Message-ID | <[email protected]> |
On Fri, 21 Feb 2003 14:25:45 +0100 Thorsten Maerz (TM) wrote: [Aha, I found the problem but don't know the solution yet, see below ] > The quotes are needed, if the -resulting- path contains spaces or > tabs, e.g. "c:\program files" has to be quoted, otherwise windows > tries to run a "c:\program.exe" or "c:\program.bat" with the parameter > "files". I see, actually I've tried both. > Some more ideas: > * Your images are called .tiff, but your rule uses .tif > --> try .tif* or .tif? instead > --> also try .* No that's not the case, I have the two (.tif and .tiff) and actually the file is *.tif. > * The user mailcap.win32 (in home) overrides settings from the global > mailcap.win32 (in etc). Use only one to avoid confusion until > testing is done. > > * I wrote a small test application that dumps all parameters to > stdout, > so they are visible in the console window (that is opened by the > debug enabled version). > > Please try following line in your _one and only_ (see above) > mailcap.win32: > .* "c:\testapp.exe" "%s" > It should dump sth like: This work for other attachment but not for my fax document attachment, but makes me know what's the problem actually. If I save the tif attachment (actually this is fax document I receive from faxserver), sylpheed save as _Fax_from_52960980_received__tracking_#_1560_ without .tif extension Actually the attachment name is "fm25880.tif" (test using other mua), seems sylpheed get the file name from subject of the message i.e "Fax from 52960980 received (tracking # 1560)" When I save the attachment above as test.tif, then sending it to myself, I can view by double clicking it. In other word, mailcap.win32 working as expected but sylpheed having problem when saving file name or in parsing MIME message. Complete header of my message that came from faxserver as below, look on the Content-Type: header (if you need original message, I can send to you off list) : Return-path: <[email protected]> Received: from server.dutaint.co.id ([192.168.1.1]) by dutaint.co.id ([192.168.1.1]) with SMTP (MDaemon.PRO.v6.7.2.R) for <[email protected]>; Fri, 21 Feb 2003 21:54:52 +0700 Date: Thu, 20 Feb 2003 15:02:48 +0700 To: [email protected] From: "RelayFax Server" <[email protected]> Reply-To: "52960980" <[email protected]> Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="RelayFax_Part_Break" X-RelayFax-Deliver-To: [email protected] X-Authenticated-Sender: [email protected] Resent-Date: Fri, 21 Feb 2003 21:54:50 +0700 Resent-From: Syafril Hermansyah <[email protected]> Subject: Fax from 52960980 received (tracking # 1560) Resent-Message-Id: <[email protected]> Resent-To: [email protected] X-Authenticated-Sender: [email protected] X-MDRcpt-To: [email protected] X-MDRemoteIP: 192.168.1.1 X-Return-Path: [email protected] X-MDaemon-Deliver-To: [email protected] -- syafril ------- Syafril Hermansyah<syafril-at-dutaint.co.id> ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge