"Internet Security Warning
The server you are connected to is using a security certificate that cannot be verified.
The target principal name is incorrect."
The certificate is valid for a URL different from the one you're using.
Either request a different certificate, try creating the account again (with automatic configuration) or try using a different host name.
Ex.: mail.domain.com -> mail.companydomain.com
Look for companydomain within the certificate file description