Security certificate cannot be verified

Security certificate cannot be verified

When sending email using Outlook, I keep getting a message saying "The server you are connected to is using a security certificate that cannot be verified. The target principle name is incorrect". I can clear the message and send the email but it's annoying. How do i get rid of it?