Email Recipient

From UBot Playground
Jump to: navigation, search

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.


connect to mail server("IMAP With SSL", "", "password", "", 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.