Email From

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 ...")
 
 
(2 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 from email address.
  
 
== Example ==
 
== Example ==
Line 14: 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:ryry.jpg]]

Latest revision as of 21:13, 26 December 2016

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.

[edit] 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.

Ryry.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox