Email From
From UBot Studio
(Difference between revisions)
| Line 16: | Line 16: | ||
</pre> | </pre> | ||
| + | |||
Running the command with the appropriate credentials for the mail server will return the sender of the email at the specified position. | Running the command with the appropriate credentials for the mail server will return the sender of the email at the specified position. | ||
| + | |||
| + | [[File:emailfrom.jpg]] | ||
Revision as of 12:17, 21 May 2013
This function is an Email Function.
The function returns the sender 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 from email address.
Example
connect to mail server("IMAP With SSL", "username@gmail.com", "password", "imap.gmail.com", 993) {
set(#email from, $email from(0), "Global")
}
Running the command with the appropriate credentials for the mail server will return the sender of the email at the specified position.