Email Total Messages
From UBot Studio
(Difference between revisions)
Line 8: | Line 8: | ||
<pre> | <pre> | ||
− | connect to mail server("IMAP With SSL", "username@gmail.com", "password", "imap.gmail.com", 993) { | + | connect to mail server("IMAP With SSL","username@gmail.com","password","imap.gmail.com",993) { |
− | set(#email | + | set(#email total messages,$email total messages,"Global") |
− | + | ||
} | } | ||
+ | |||
</pre> | </pre> | ||
− | The | + | The number of emails on the mail server is 8. |
[[File:email total messages00.png]] | [[File:email total messages00.png]] |
Revision as of 12:56, 20 September 2016
This function is an Email Function.
The function returns the subject of the email 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.
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.