Reputation: 1541
Is it possible to pass an email address to outlook from an AIR application???? My adobe air application has to send email address and the message content also.Is it possible?
Upvotes: 0
Views: 467
Reputation: 39408
You can use the URL Syntax for sending an email; and open it up in a URLRequest along with navigateToURL. Something like this:
var request:URLRequest = new URLRequest("mailto:[email protected]?Subject=Hello&Body=SomeText");
navigateToURL(request);
This basically, passes the request onto the operating system who will handle it. There is no way to guarantee that outlook will be the default email client opened up. I haven't done this in years, so if memory serves me not all mail clients support the 'body' attribute to prepopulate the emails body text.
Upvotes: 2