> ## 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).

# [Gmail] Email was not sent due to an error in Email configuration.

This tutorial is for companies that are using Google Mail for their Outgoing SMTP mail settings.

Error:

![](https://storage.crisp.chat/users/helpdesk/website/895a2775afb3f800/gmail1_1byp8ly.png)

These steps should be taken to both diagnose and resolve the issue:

1. Make sure you followed the [correct setup procedures](/en/article/google-apps-gmail-support-b5qqxy/).

2. Navigate to  **Settings -> Email**. Be sure that if you are utilizing SSL port  **465**  that you have prefixed  **ssl://**  before Gmail's hostname. 

![](https://storage.crisp.chat/users/helpdesk/website/895a2775afb3f800/gmail2_1edz2zo.png)

3. [Enable logging](/en/article/how-to-enable-logging-1iroo95/);

Look for any timeout entries. They would appear as: **SMTP -> ERROR: Failed to connect to server: Connection timed out (110) **

4. Verify that port  **465**  is open outbound on your firewall.If these steps do not address your issue, please [submit a ticket](https://www.clientexec.com/members/index.php?fuse=support&controller=ticket&view=submitticket).