How to open a message using Mozilla or Phoenix
Vincent Berruyer <[email protected]>
| Newsgroups | gmane.mail.sylpheed.claws.windows |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I would like to create an action in sylpheed 0.8.8 running under Win32 which would open the
selected message with the Mozilla (or Phoenix) web browser.
I tried several actions but none of them are successful :
| "c:\program files\mozilla\mozilla.org\mozilla.exe"
"c:\program files\mozilla\mozilla.org\mozilla.exe" %f
"c:\program files\mozilla\mozilla.org\mozilla.exe" "%f"
| "c:\program files\mozilla\mozilla.org\mozilla.exe" %F
"c:\program files\mozilla\mozilla.org\mozilla.exe" "%F"
Some of those action just open the browser Windows (and it even seems that it's not 100% succesfull and sometimes nothing append).
I also tried to create a perl script but I have unfortunatly no
knowledge at all about programming language and my script seems not to
work :
Sylpheed action :
| C:/Mozilla.pl
or | C:/Outils/Perl/bin/perle.exe C:/Mozilla.pl
Mozilla.pl script :
use strict;
my $browser = "C:\Program Files\mozilla.org\Mozilla\mozilla.exe";
my $tempname='c:\temp\sylpheed-temp.html';
open TEMPFILE, ">".$tempname ;
while (<>) { print TEMPFILE $_ ; }
close TEMPFILE ;
system($browser -quiet -browser $tempname);
Could you please help me to perform such action ?
The aim is to be able to view in a Web browser the HTML mails I receive.
I know that an HTML mail does not contain any <body> tag but Mozilla
don't care and still print the remaining tags.
Or if you have any better or smarter solution to view HTML mails with Sylpheed ?
Great thanks in advance for your precious help.
Vincent
PS : Moreover, could such action be improved to be able to open any selected part of a MIME message?
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com