Email Recipient
From UBot Studio
(Difference between revisions)
(Created page with "This function is an Email Function. The function returns the recipients of the emails at a specified position. The function goes into another command su...") |
|||
Line 9: | Line 9: | ||
<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 recipient, $email recipient(0), "Global") |
} | } | ||
Revision as of 17:03, 14 January 2013
This function is an Email Function.
The function returns the recipients of the emails at a 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 recipient, $email recipient(0), "Global") }
Running the command with the appropriate credentials for the mail server will return the recipient of the email at the specified position.