This content has been marked as final. Show 5 replies
You can use Director's go URL behavior and specify "mailto:firstname.lastname@example.org" as the link whch will launch the mail application with the address prefilled but it has the undesirable side effect of also launching an internet browser window that will open to a blank page.
You can prefill other fields like this: "mailto:email@example.com?subject=My Vacation&body=How come I did not get one."
BuddyAPI has a similar command but it opens the mail app without the browser which is much nicer.
Or, you can use the directEmail xtra to send email directly from your projector to an SMTP server
Or, you can use postNetText to an ASP sendMail script which I just got finished doing and wouldn't wish on anyone ;-)
Thanks so much for the buddyapi advice. One more problem thought. Here is the behavior I attached to the sprite set OK = baOpenURL("mailto:firstname.lastname@example.org","Normal") and here is the error message I'm getting. Script error handler definition expected. Can you tell what I did wrong?
Did you put the code inside some event?
on mouseUp me
OK = baOpenURL("mailto:email@example.com","Normal")
baOpenUrl is a method of the buddyApi xtra.
the xtra must be present in your xtras folder otherwise the handler "baOpenUrl" is "not defined".
put the xtra buddyApi in your director xtras (in the folder "Configuration" next to your director application folder) folder and don't forget to provide it with your published project (either in a separate xtras folder or by including it)
Perfect!!! thanks so much for your help