<- Back to POP3it Pro function list
POP3it_Adv_Connect
- Description
This function opens a connection to the POP3 mail server set in the account you specify. After using this function, use POP3it_Adv_GoToMessage to set the current email, and then you can use the other Advanced functions for retrieving Headers, the Body, and Attachments from the email. When you are done, use the POP3it_Adv_Disconnect function to close the connection.
- Return Type
- Text
- Format
- POP3it_Adv_Connect ( AccountName )
- Required Parameters
- AccountName
The Name of the Account to connect to.
- AccountName
- Related Items
- POP3it_Adv_AddAccount, POP3it_Adv_Disconnect, POP3it_Adv_IsConnected, POP3it_CheckAccount, POP3it_ConfigureAccount
- Examples
Example 1
Code:
POP3it_Adv_Connect("work email")Result:
Connects to the "work email" account.Example 2
Code:
POP3it_Adv_Connect( Email::Account )Result:
Connects to the account specified in the "Account" field of the "Email" table.