|
Purpose
Send an email via the local email client, e.g. MS Outlook |
|
Solution
Use the Start command with the "mailto:" protocol.
Example We launch the local email program using the mailto protocol and pass it the recipient, the subject, and the email body. Since the subject and email text may contain special characters such as "&", which have a specific meaning in the mailto protocol, we first convert both texts into a format where the special characters are replaced by their hexadecimal values. The easiest way to do this is with the standard JavaScript function "encodeURIComponent", which we call via CallJS. |
GuiXT
|
|
Components
InputAssistant + Controls
|