This content has been marked as final. Show 6 replies
It doesn't work cause you need to use quotes, the correct syntax is :
> I created a button to send an email. As I usually work on
> Mac I didn't have any problem, but the client called me to
> say that the button doen't work, and it do not work on
> windows if he has installed the outlook express.
> Does anyone Know how to do this. Is there another way
> than getURL(mailto:firstname.lastname@example.org).???
getURL() works just the way a hyperlink does in HTML. If a mailto: link
works for this client in an HTML page, it will work in Flash. OF course,
the function must be properly used. According to the documentation, the
parameter must be a string (see the getURL() entry in the ActionScript
Language Reference for details). In your sample above, you haven't provided
quotation marks, so the mailto: part isn't a string.
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."
I wrote it wrong when I sent the message, I am using it with cuotes. It works on Mac and even on Windows when the user has Microsoft Outlook but not with outlook express. Does it have any sense?
Thank you very much for your reply.
plz check the above link, I'v created a simpe textbox and give it mailto:email@example.com without any quotes its working properly on windows. no mater which email client ur using either Outlook Express(installed with IE) or Microsoft Outlook Express(comes with MS-Office)
hope u got my point!
Nothing to do with Flash. For "mailto:" to work, you need to have a default e-mail application set. On windows, see the Internet settings "Applications" tab.
Note that I personnaly disadvise the use of "mailto:" because not every machine have a default mail client set (those who uses webmail, shares session, connects from cybercafé, etc...). And prefer server-side solution for messaging or mail sending .
Thank you all for your help.
I finally got a solution. I'm using fscommand to execute a program JEMAIL.exe that at last opens the email program!!. So instead of using getURL, I'm using:
I got this program on : http://flashjester.com/?section=faq&cPath=28_34
Thanks again for your help.