Failed to send email. Reason: 139621811431296:error:1408F10B:SSL routines:ssl3_get_record:wrong version number

SSLV3 wrong version number error on transactional emails

  • What’s your URL?
  • What version of Ghost are you using? 4.32.1


  • 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:
  • 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:

"mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "",
      "port": 587,
      "secureConnection": false,
      "auth": {
        "user": "",
        "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?

1 Like

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