Email Subject
From UBot Studio
(Difference between revisions)
(One intermediate revision by one user not shown) | |||
Line 10: | Line 10: | ||
<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") |
} | } | ||
Line 20: | Line 20: | ||
− | [[File: | + | [[File:777t.jpg]] |
Latest revision as of 20:26, 26 December 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.
Position: The position of the email with the desired subject.
[edit] Example
connect to mail server("IMAP With SSL","username@gmail.com","password","imap.gmail.com",993) { set(#email subject,$email subject(0),"Global") }
The total emails on the mail server is 8.