[Lazarus] Universal using of mailto:

Bart bartjunk64 at gmail.com
Wed Dec 10 21:48:03 CET 2008


> By the way.
> Is any similar method for opening HTML files without using application name
> eg. firefox.

As others pointed out xdg-open will do that.
You might take a look at my BrowserDetection unit, which uses xdg-open
if available, or tries some other options if it is not there. AFAICT
it should also run under Darwin (MacOSX).
It's at: http://home.tiscali.nl/~knmg0017/software/fpc_laz/browserdetection.tgz

Comments are welcome.

It should be easy to expand this for email use also.

Bart



More information about the Lazarus mailing list