On button click event do following:
private function clickHandler(): void
var req:URLRequest = new URLRequest("mailto:firstname.lastname@example.org");
It will open outlook client if configured.
ok Tanu, So outlook is basically a program(application) in linux rite?
Similarly, How can I open a VLC application in a click of a button ? I mean I tried putting "vlc" instead of "mailto". Both are applications rite ? But in case of VLC I am getting Security Error 2148: Cant access local resources. But even outlook is a local resource.
Or Can I run a command by clicking a button in the web page ?
Outlook is an application like "outlook express" or "Microsoft Office Outlook", generally configured on windows as email client.
As your question was concerning opening an email client, so is the solution.
I do not have any clue as of now of running a command on click of a button.