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_SetAccountOption

NamePOP3it_Adv_SetAccountOption
Description

This function sets specific options in the Account you specify. The following is a list of the valid option names you can specify:

  • AttachPath - A Path to a folder on your hard drive where POP3it Pro should store Attachments for this Account. Alternate Option Name: AttachmentPath
  • AttachTable - The Name of the Table that POP3it Pro inserts all the Attachment records into. Alternate Option Name: AttachmentTable
  • AuthType - The Type of Authentication to use when connecting to the mail server. Valid values are “Plain”, “APOP”, and “Auto”. Alternate Option Name: AuthenticationType
  • AutoCheck - Specifies whether or not Automatic Checking is enabled.
  • AutoCheckInterval - An Interval that defines the number of minutes to wait before Automatically Checking the Account again.
  • AutoCheckScript - The Name of the Script that POP3it Pro calls if you have the Account set to Automatically call a Script on a certain interval.
  • AutoDelete - Specifies whether or not Automatic Deleting is enabled.
  • AutoDeleteInterval - An Interval that defines the number of days before POP3it Pro will delete an email off the server after downloading it with the POP3it_CheckAccount function. A setting of 0 means POP3it Pro will delete the email immediately after downloading it.
  • DB - The Database that contains the AutoCheckScript. Alternate Option Name: Database.
  • DeleteMissing - Specifies whether or not POP3it Pro should Delete emails from the server when it no longer finds the emails in the database (when using the POP3it_CheckAccount function).
  • Fields - A return- or paragraph mark-delimited list of “<Original Field Name>=<New Field Name>” pairs describing alternate field names for POP3it to use when inserting records into the Message and Attachment Tables. (An example would be “POP3it_Header_From=My From Field”.)
  • Host - The domain name or IP address of the mail server for this account.
  • MessageTable - The Name of the Table that POP3it Pro inserts all the Message records into.
  • Password - The Password to use when connecting to the mail server.
  • Port - An alternate TCP/IP Port to use to connect to the mail server for this account.
  • PromptForPassword - Specifies whether or not POP3it Pro should Prompt the user for their Password instead of storing it with the rest of the Account information.
  • Timeout - A Timeout setting in seconds to wait for the mail server to respond to commands.
  • TLSType - The TLS/SSL Method to use when connecting to the mail server. Valid values are “None”, “After Connect” (or “AfterConnect”, “STLS”, or “StartTLS”), and “Before Connect” (or “BeforeConnect”, “Secure Port”, “SecurePort”, “Alt Port”, “AltPort”, “Alternate Port”, or “AlternatePort”). Using the “After Connect” setting usually means that your mail server allows you to use TLS/SSL over the standard POP3 connection, while the “Before Connect” setting usually means that you have to connect to an alternate TCP/IP port to use TLS/SSL.
  • Username - The Username to use when connecting to the mail server. This could be just a username (e.g. “Bob”) or a full email address (e.g. “Bob@domain.com”) and should not be case sensitive. However, which one you use and whether it is case sensitive depends on your mail server.

Return TypeText
FormatPOP3it_Adv_SetAccountOption ( AccountName ; OptionName ; OptionValue )
Required Parameters
AccountName

The Name of the Account that holds the Option to Set.

OptionName

The Name of the Option to Set.

OptionValue

The New Value for the Option.

Examples
Example 1

Sets the "Host" Option of the "work email" Account to "pop.mydomain.com".

POP3it_Adv_SetAccountOption( "work email" ; "Host" ; "pop.mydomain.com" )
Example 2

Turns on the Automatic Check Option for the "work email" Account.

POP3it_Adv_SetAccountOption( "work email" ; "AutoCheck" ; True )