Email Total Messages
From UBot Studio
(Difference between revisions)
Line 3: | Line 3: | ||
The function returns the number of emails at the specified position. | The function returns the number of emails at the specified position. | ||
− | The function goes into another command such as a set command, which is then placed inside the connect to mail server command. | + | The function goes into another command such as a [[set]] command, which is then placed inside the connect to mail server command. |
== Example == | == Example == |
Latest revision as of 13:02, 20 September 2016
This function is an Email Function.
The function returns the number of emails at the specified position.
The function goes into another command such as a set command, which is then placed inside the connect to mail server command.
[edit] Example
connect to mail server("IMAP With SSL","username@gmail.com","password","imap.gmail.com",993) { set(#email total messages,$email total messages,"Global") }
The number of emails on the mail server is 8.