[Lazarus] Universal using of mailto:
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Dec 10 13:48:51 CET 2008
2008/12/10 Ireneusz Wyglądała <kornisch at gmail.com>:
>
> But is there any universal method that works fine in linux and win32?
Linux is easy as well! ;-)
If your target Linux system has xdg-utils you can use the following command:
xdg-email
-----------------------------------------------
$> xdg-email
xdg-email - command line tool for sending mail using the user's preferred
e-mail composer
Synopsis
xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text
] [--attach file] { mailto-uri | address(es) }
xdg-email { --help | --manual | --version }
Use 'man xdg-email' or 'xdg-email --manual' for additional info.
-----------------------------------------------
If your target linux distro doesn't include Xdg-Utils, it is
recommended that you deploy it with your application (help promote the
idea and make live easier for software developers). If very simply to
do and is described in the following website.
http://portland.freedesktop.org/wiki/
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list