> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.clientexec.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# stream_socket_enable_crypto(): Peer certificate CN=*.yourhostingcompany.com did not match expected CN=mail.yourdomain.com when sending emai

If you receive the following error:

"ERROR Warning: stream_socket_enable_crypto(): Peer certificateCN=*.yourhostingcompany.com' did not match expected CN=mail.yourdomain.com' in ..."

You are not using the proper server name for your mail server. 

In order to resolve this error make sure that the proper server name is used (For Example: the cPanel server name) or the option "**Ignore Invalid Mail Server SSL**" is enabled under **Settings **> **Mail Configuration**.