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.abc.com",
            LAST );
    imap_logon_ex( &imap1, "SecureLogon",
            "URL=imaps://exchange.abc.com",
            "SSLCertificate=certfile.pem",
            "SSLPrivateKey=keyfile.pem",
            "SSLPassword=password",
            LAST );