Example: pop3_logon_exPost Office Protocol Vuser Functions (POP3)

Logs on to a POP3 server for a specific session.

int pop3_logon_ex( POP3 *pppop3, char *transaction, char *url, [char* LocalAddr, char* STARTTLS,] LAST );
pppop3 A session identifier.
transaction A transaction name for this step in quotes. To instruct VuGen not to create a transaction for this step, use a NULL string, "".
url The URL of the POP3 server, in the FTP format style:"URL=pop3://username:password@server[:port]"
LocalAddr Optional: Sets the preferred IP address of the client <ip_addr>[:<port>]. This option is useful for IP spoofing. Use the following format:
STARTTLS Optional: Indicates that POP3's StartTLS (Start Transport Layer Security) extension must be activated on the session. If the parameter is set, then the POP3 protocol's 'STARTTLS' command will be issued on the session during logon and connection will be switched to TLS mode. Use the following format :
LAST A marker indicating the end of the argument list.

The pop3_logon_ex function logs on to a POP3 server for a specific session. It uses the format used by the FTP protocol.

This function is for use with multiple sessions. For global sessions, use the pop3_logon function, which leaves out the session identifier.

Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.


The following argument(s) can be parameterized with standard parameterization: url