mobileComposeHtmlMail | ||||||||||||||||||||||
Type | command | |||||||||||||||||||||
Dictionary | LCS | |||||||||||||||||||||
Library | LiveCode Script | |||||||||||||||||||||
Syntax |
| |||||||||||||||||||||
Synonyms | iphonecomposehtmlmail | |||||||||||||||||||||
Summary | Opens a new email message in the user's email program. | |||||||||||||||||||||
Introduced | 4.6 | |||||||||||||||||||||
OS | ios, android | |||||||||||||||||||||
Platforms | mobile | |||||||||||||||||||||
Parameters |
| |||||||||||||||||||||
Example |
| |||||||||||||||||||||
Values |
| |||||||||||||||||||||
Related | Command: revMail, revGoURL, revMailUnicode, mobileComposeUnicodeMail, mobileComposeMail Function: mobileCanSendMail Glossary: command Object: stack | |||||||||||||||||||||
Description | Use the mobileComposeHtmlMail command to create an HTML email message with attachments from within a stack on iOS or Android. This command interfaces with the iOS and Android mail composition interface If you specify a file for the attachment, the engine tries to use the least amount of memory by asking the operating system to only load it from disk when the file is needed. Therefore, using mobileComposeHtmlMail should be the preferred method when attaching large amounts of data to an e-mail. For example, sending multiple attachments may be done like this:
Some devices are not configured with e-mail sending capability. To determine if the current device is, use the mobileCanSendMail function. This returns true if the mail client is configured.
| |||||||||||||||||||||
Tags | networking |