Use this Action to send email.
|
|
When the Mailto Action is executed, the Flash Player will start the client's default email program (such as Outlook Express). The fields you have specified will be already filled in. The user can edit any of these or fill in any that are blank and then send the message.
To
You can put in the email address of the recipient.
CC
You can put in the email address of the recipient of a copy of the message.
Subject
You can supply a subject line for the message.
Message body
You can supply text for the message. Newlines can be embedded for formatting.
Note: If you have a constant string expression (something SWiSHmax can evaluate as a string when it compiles the script), then SWISHmax will automatically 'escape' any special characters like newlines for you. eg newlines become "%0a"
However, if you are building up the string dynamically so SWISHmax cannot tell what it will be when it compiles your script, thne you need to do the escaping yourself. So instead of building a message body, say, with lines separated by newlines ("\n"), you need to use the escaped version ("%0a")
In the example below, the Movie will allow the user to send an email to webmaster@swishzone.com and a copy to sales@swishzone.com.