Example: imap_logon_ex

In the following examples, imap_logon_ex logs in to secure and non-secure IMAP servers.

    imap_logon_ex(&imap1, "ImapLogon",
            "URL=imap://johnd:letmein@exchange.mycompany.com",
            LAST );
    imap_logon_ex( &imap1, "SecureLogon",
            "URL=imaps://exchange.mycompany.com",
            "SSLCertificate=certfile.pem",
            "SSLPrivateKey=keyfile.pem",
            "SSLPassword=password",
            LAST );