# Failed to send email. Reason: 139621811431296:error:1408F10B:SSL routines:ssl3\_get\_record:wrong version number

**URL:** <https://forum.ghost.org/t/failed-to-send-email-reason-1396218114312961408f10b-ssl-routineswrong-version-number/28140>\
**Category:** Developer help\
**Created:** [January 26, 2022, 5:16am UTC](https://forum.ghost.org/t/failed-to-send-email-reason-1396218114312961408f10b-ssl-routineswrong-version-number/28140 "2022-01-26T05:16:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhl](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mhl](https://forum.ghost.org/u/mhl)\
**Post date:** [January 26, 2022, 5:16am UTC](https://forum.ghost.org/t/failed-to-send-email-reason-1396218114312961408f10b-ssl-routineswrong-version-number/28140/1 "2022-01-26T05:16:38Z")

</div>

SSLV3 wrong version number error on transactional emails

- **What’s your URL**? [bikeloudpdx.org](http://bikeloudpdx.org)
- **What version of Ghost are you using?** 4.32.1

And

- How was Ghost installed and configured? Copied an existing installation, then updated to 4.32.1, switched to new mailgun account
- What Node version, database, OS & browser are you using?  
Node: v12.22.8  
Database: mysql 5.7.36-0ubuntu0.18.04.1  
OS: Ubuntu 18.04.6 LTS (bionic)  
browser: Firefox 96.02
- What errors or information do you see in the console? I get this in the staff web page when I try to add a user or resend the invitation:

```plaintext

```

- What steps could someone else take to reproduce the issue you’re having? see below

This only happens if I set the mail configuration “secureConnection” value to true. The exact same configuration works fine if “secureConnection” is set to false.

The mailgun section of my configuration:

```auto
"mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 587,
      "secureConnection": false,
      "auth": {
        "user": "postmaster@mail.bikeloudpdx.org",
        "pass": " *****"
      }
    }
  },

```

The mail.log file has no useful information and I don’t see much of interest in other log files. Anything specific I should look for?

---

<div class="post-metadata">

**Author:** ![ppo](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@ppo](https://forum.ghost.org/u/ppo)\
**Post date:** [April 3, 2022, 12:06pm UTC](https://forum.ghost.org/t/failed-to-send-email-reason-1396218114312961408f10b-ssl-routineswrong-version-number/28140/2 "2022-04-03T12:06:15Z")

</div>

I’ve the same problem. Did you find a solution? 😁
