Example: imap_logon

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

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