PDA

View Full Version : Opening an email client without the browser


djgd
06-07-2007, 08:23 AM
I'm working on a flash application that will deployed as a .exe. I was wondering if anyone knew of a way to open a users email client in the same way as "mailto:..." without the browser?

fauzira
06-07-2007, 09:01 AM
Try this..

this.createTextField("myEmailText_txt", 99, 10, 10, 300, 20);
myEmailText_txt.html = true;
myEmailText_txt.htmlText = '<A HREF="mailto:sample@samples.com">Send me an email</A>';

djgd
06-07-2007, 09:48 AM
I tried that, but it opens a browser window as well as the email client, it's deployed as an .exe and I dont want the browser to open, is there a way around it?

tcox
06-07-2007, 07:35 PM
Not sure if this can be done using a normal projector, but you can do this with zinc, either through their (terrible) built-in mail support or by opening a zinc Browser within the program offscreen (thus effectively invisible) and directing it to the mailto link.

Otherwise you could always make your own email form in flash and use a script to send the mail rather than depending on the users mail client.