Email Subject

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
This function is an [[Email Functions|Email Function]].
 
This function is an [[Email Functions|Email Function]].
  
The function returns the total amount of the emails in your inbox.  
+
The function returns the subject 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.
 
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 subject.
 +
 
== Example ==
 
== Example ==
  
 
<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 total, $email total messages, "Global")
+
     set(#email subject,$email subject(0),"Global")
 
}
 
}
  
 
</pre>
 
</pre>
 +
  
 
The total emails on the mail server is 8.
 
The total emails on the mail server is 8.
  
[[File:emailsubject.png]]
+
 
 +
[[File:777t.jpg]]

Latest revision as of 20:26, 26 December 2016

This function is an Email Function.

The function returns the subject 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 subject.

[edit] Example

connect to mail server("IMAP With SSL","username@gmail.com","password","imap.gmail.com",993) {
    set(#email subject,$email subject(0),"Global")
}


The total emails on the mail server is 8.


777t.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox