Can I have an example how to connect to a Exchange Server via Mail.dll? I cannot find an example on your website.
Exchange is a regular IMAP server, so all IMAP samples apply: https://www.limilabs.com/mail/samples
Remember to turn IMAP protocol on in Exchange: http://technet.microsoft.com/en-us/library/bb124489.aspx