Example: pop3_command_ex

In the following example, the pop3_command_ex function returns the unique ID of the first message.

...
// Logon to the POP3 server
pop3_logon_ex(&pppop3, "Login",
                "URL=pop3://user4t:my_pwd@techno.merc-int.com",
                LAST );
// Send a "UIDL 1" command to the server
pop3_command_ex(&pppop3, "UID_Command", 
                "Command=UIDL 1",
                LAST );