Email Total Messages
From UBot Studio
(Difference between revisions)
(Created page with "This function is an Email Function. The function returns the total amount of the emails in your inbox. The function goes into another command such as a ...") |
|||
Line 1: | Line 1: | ||
This function is an [[Email Functions|Email Function]]. | This function is an [[Email Functions|Email Function]]. | ||
− | The function returns the | + | 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. | The function goes into another command such as a set command, which is then placed inside the connect to mail server command. | ||
+ | |||
== Example == | == Example == | ||
<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 subject, $email subject(0), "Global") |
+ | |||
} | } | ||
</pre> | </pre> | ||
− | The | + | The subject of the email at position 0 on the mail server is 8. |
− | [[File: | + | [[File:emailsubject.png]] |
Revision as of 16:50, 14 January 2013
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 subject, $email subject(0), "Global") }
The subject of the email at position 0 on the mail server is 8.