Name | POP3it_Adv_GoToMessage |
---|
Description |
- "First" - Sets the current email to the first available email.
- "Next" - Sets the current email to the next available email.
- Number - Sets the current email to the specific numbered email on the server or in the file.
- UniqueID - Sets the current email to the email with the Unique Identifier you specify.
If the function succeeds, it will return the current email number. If you are using "First" and "Next" and there are no more emails on the server, it will return 0 (zero). If you are specifying the Number or UniqueID and there is not a corresponding email with that number or Unique Identifier, the function will return an error.
|
---|
Return Type | Number |
---|
Format | POP3it_Adv_GoToMessage ( Which ) |
---|
Required Parameters | Which Which email POP3it Pro should set the current email to.
|
---|
Examples | - Example 1
Sets the current email to the first available email and returns 1 if there are emails available. POP3it_Adv_GoToMessage( "First" )
- Example 2
Sets the current email to the next available email and returns its message number or 0 if there are no more emails. POP3it_Adv_GoToMessage( "Next" )
- Example 3
Sets the current email to the fifth email if there are at least five available emails. POP3it_Adv_GoToMessage( 5 )
- Example 4
Sets the current email to the email with the Unique Identifier "000006f1c2cc2241" if it exists. POP3it_Adv_GoToMessage( "000006f1c2cc2241" )
|
---|