Email Date
From UBot Studio
(Difference between revisions)
| 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 email date. | ||
== Example == | == Example == | ||
Revision as of 20:39, 26 April 2013
This function is an Email Function.
The function returns the date received of the email 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 email date.
Example
connect to mail server("IMAP With SSL", "username@gmail.com", "password", "imap.gmail.com", 993) {
set(#email date, $email date(0), "Global")
}
Running the command with the appropriate credentials for the mail server will return the date received of the email at the specified position.