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...") |
|||
(4 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
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. | ||
+ | |||
+ | '''Position:''' The position of the email with the desired recipient. | ||
== Example == | == Example == | ||
Line 9: | Line 11: | ||
<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") |
} | } | ||
Line 15: | Line 17: | ||
Running the command with the appropriate credentials for the mail server will return the recipient of the email at the specified position. | Running the command with the appropriate credentials for the mail server will return the recipient of the email at the specified position. | ||
+ | |||
+ | |||
+ | [[File:huhu8.jpg]] |
Latest revision as of 21:10, 26 December 2016
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.
Position: The position of the email with the desired recipient.
[edit] 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.