@@ -42,10 +42,18 @@ messageBody (string):
4242This text appears in the 'body' of the email message.
4343
4444The result:
45- On return on iOS, the result is set to one of:. On return on Android,
46- the result is set to:. * unknown - On Android the email activity does
47- not return its status back to the calling activity so the result is set
48- to 'unknown' in all cases.
45+ On return on iOS, the result is set to one of:
46+ * not configured - if the user has turned off or has not setup mail
47+ access on their device
48+ * cancel - if the user chooses to cancel the send
49+ * saved - if the user chose to save the message in drafts
50+ * sent - if the user elected to send the email
51+ * failed - if sending the email was attempted, but it failed
52+
53+ On return on Android, the result is set to:
54+ * unknown - On Android the email activity does not return its status
55+ back to the calling activity so the result is set to 'unknown' in all
56+ cases.
4957
5058Description:
5159Use the <revMail> <command> to create an email message from within a
@@ -54,8 +62,8 @@ Use the <revMail> <command> to create an email message from within a
5462When LiveCode executes the <revMail> <command>, the user's email program
5563is opened (if necessary) and a new email message with the specified
5664<parameter|parameters> is created. The user can change any of the
57- settings before sending the message, and the message is not sent
58- automatically: the user must explicitly send it (for example, by
65+ settings before sending the message, and the message is not
66+ sent automatically: the user must explicitly send it (for example, by
5967clicking a 'Mail' button in the email program).
6068
6169On Mac OS systems, the mail message is opened in the application the
@@ -64,14 +72,6 @@ user has set for the 'mailto:' protocol in the Internet control panel
6472
6573On iOS, <revMail> hooks into the iOS MessageUI framework.
6674
67- * not configured - if the user has turned off or has not setup mail
68- access on their device
69- * cancel - if the user chooses to cancel the send
70- * saved - if the user chose to save the message in drafts
71- * sent - if the user elected to send the email
72- * failed - if sending the email was attempted, but it failed
73-
74-
7575>*Important:* On <Mac OS|Mac OS systems>, the <revMail> <command>
7676> requires that AppleScript be installed and that the GURL <Apple Event>
7777> be supported. GURL support is included in <Mac OS> 8.5 or later, and
@@ -86,9 +86,9 @@ For some older email programs, it may not be possible to specify a
8686<command> still works with such programs, but only the 'To:' header is
8787set.
8888
89- >*Note:* When included in a <standalone application>, the <Common
90- > library> is implemented as a hidden <group> and made available when
91- > the <group> receives its first <openBackground> message. During the
89+ >*Note:* When included in a <standalone application>, the
90+ > <Common library> is implemented as a hidden <group> and made available
91+ > when the <group> receives its first <openBackground> message. During the
9292> first part of the <application|application's> startup process, before
9393> this <message> is sent, the <revMail> <command> is not yet available.
9494> This may affect attempts to use this <command> in <startup>,
@@ -107,10 +107,9 @@ mobileComposeHtmlMail (command), parameter (glossary),
107107main stack (glossary), handler (glossary), message (glossary),
108108group (glossary), Mac OS (glossary), standalone application (glossary),
109109Apple Event (glossary), command (glossary), application (glossary),
110- file (keyword), revMail (library), Common library (library),
111- library (library), startup (message), openBackground (message),
112- preOpenStack (message), openStack (message), preOpenCard (message),
113- stack (object)
110+ file (keyword), Common library (library), library (library),
111+ startup (message), openBackground (message), preOpenStack (message),
112+ openStack (message), preOpenCard (message), stack (object)
114113
115114Tags: networking
116115
0 commit comments