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