# SSL Error while executing Send Mail node

**URL:** <https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924>\
**Category:** Questions\
**Tags:** send-email\
**Created:** [September 26, 2023, 5:39pm UTC](https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924 "2023-09-26T17:39:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustafamohsen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mustafamohsen/32/56319_2.png) [@mustafamohsen](https://community.n8n.io/u/mustafamohsen)\
**Post date:** [September 26, 2023, 5:39pm UTC](https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924/1 "2023-09-26T17:39:23Z")

</div>

## Describe the problem/error/question

I use elasticmail for transactional mails. I created credentials normally. Upon executing Send Email node, I received this error:

ERROR: 58BBE053267F0000:error:0A00010B:SSL routines:ssl3\_get\_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3\_record.c:354:

HTTP Code  
ESOCKET

NodeApiError: 58BBE053267F0000:error:0A00010B:SSL routines:ssl3\_get\_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3\_record.c:354:

```
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/EmailSend/v2/send.operation.js:226:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/EmailSend/v2/EmailSendV2.node.js:87:22)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:658:19)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:631:53

```

Even Ignore SSL Issues option doesn’t seem to work. What should I do?

## Information on your n8n setup

- **n8n version: 1.7.1**
- **Database (default: SQLite): default**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker**
- **Operating system: Ubuntu 22.04.2**

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [September 28, 2023, 3:16pm UTC](https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924/2 "2023-09-28T15:16:08Z")

</div>

Hi @mustafamohsen 👋 In the credential, there’s a TLS/SSL toggle - can you try toggling this to the other option and seeing if that fixes it up?

if it hasn’t, it sounds like you might not have either your mail server or n8n configured correctly - could you share your Docker compose file (and redact any sensitive information that might be in there such as passwords / tokens)?

---

<div class="post-metadata">

**Author:** ![mustafamohsen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mustafamohsen/32/56319_2.png) [@mustafamohsen](https://community.n8n.io/u/mustafamohsen)\
**Post date:** [September 28, 2023, 4:53pm UTC](https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924/3 "2023-09-28T16:53:48Z")

</div>

Hi @EmeraldHerald  
Yes! Turning off the SSL/TLS switch solved it  
Many thanks

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [October 5, 2023, 4:54pm UTC](https://community.n8n.io/t/ssl-error-while-executing-send-mail-node/30924/4 "2023-10-05T16:54:11Z")

</div>

Closed on October 5, 2023, 4:54pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
