Product Logo

POP3it Pro

Email downloading made easy.

Functions
FunctionPOP3it_Adv_AddAccount
FunctionPOP3it_Adv_Connect
FunctionPOP3it_Adv_ConnectFile
FunctionPOP3it_Adv_Delete
FunctionPOP3it_Adv_DeleteAll
FunctionPOP3it_Adv_Disconnect
FunctionPOP3it_Adv_GetAccountOption
FunctionPOP3it_Adv_GetAttachment
FunctionPOP3it_Adv_GetAttachmentCount
FunctionPOP3it_Adv_GetAttachmentFileName
FunctionPOP3it_Adv_GetBody
FunctionPOP3it_Adv_GetDate
FunctionPOP3it_Adv_GetFullSource
FunctionPOP3it_Adv_GetHeader
FunctionPOP3it_Adv_GetMessageCount
FunctionPOP3it_Adv_GetSize
FunctionPOP3it_Adv_GetUniqueID
FunctionPOP3it_Adv_GoToMessage
FunctionPOP3it_Adv_HasBodyType
FunctionPOP3it_Adv_IsConnected
FunctionPOP3it_Adv_RemoveAccount
FunctionPOP3it_Adv_SaveAttachment
FunctionPOP3it_Adv_SetAccountOption
FunctionPOP3it_Adv_UndeleteAll
FunctionPOP3it_CheckAccount
FunctionPOP3it_CheckFile
FunctionPOP3it_Configure
FunctionPOP3it_ConfigureAccount
FunctionPOP3it_DisplayMessage
FunctionPOP3it_File_Copy
FunctionPOP3it_File_Delete
FunctionPOP3it_File_Exists
FunctionPOP3it_File_Export
FunctionPOP3it_File_Import
FunctionPOP3it_File_Move
FunctionPOP3it_File_Read
FunctionPOP3it_File_Rename
FunctionPOP3it_File_SelectWithDialog
FunctionPOP3it_File_Size
FunctionPOP3it_File_Timestamp
FunctionPOP3it_File_Write
FunctionPOP3it_Folder_Create
FunctionPOP3it_Folder_Delete
FunctionPOP3it_Folder_Exists
FunctionPOP3it_Folder_GetPath
FunctionPOP3it_Folder_List
FunctionPOP3it_Folder_Rename
FunctionPOP3it_Folder_SelectWithDialog
FunctionPOP3it_GetAccountNames
FunctionPOP3it_QuoteMessage
FunctionPOP3it_Register
FunctionPOP3it_StatusWindow
FunctionPOP3it_Version
FunctionPOP3it_VersionAutoUpdate

POP3it_Adv_GoToMessage

NamePOP3it_Adv_GoToMessage
Description

This function tells POP3it Pro to set the current email to one of the emails on the mail server or in the mail file. Valid values for the Which parameter are as follows:

  • “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 TypeNumber
FormatPOP3it_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" )