Email Subject
From UBot Studio
(Difference between revisions)
| 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") |
} | } | ||
Revision as of 19:13, 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.
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.