# Email Subscribe Transaction Email Isn't sending

**URL:** <https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437>\
**Category:** Installation\
**Created:** [January 12, 2021, 2:21pm UTC](https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437 "2021-01-12T14:21:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedpoint0](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/speedpoint0/32/11184_2.png) [@speedpoint0](https://forum.ghost.org/u/speedpoint0)\
**Post date:** [January 12, 2021, 2:21pm UTC](https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437/1 "2021-01-12T14:21:05Z")

</div>

Hey all!  
I’m having a lot of trouble with getting email subscribe transaction emails to send when a visitor subscribes.

I’ve been crawling the ghost forums for about 4 hours and still can’t get this to work so any help would be greatly appreciated!!

URL - [https://andydao.co/](https://andydao.co/)  
Version of Ghost - 3.40  
Browser - Chrome  
Setup - Digital Ocean + Ghost + Mailgun for bulk and transactional emails

**What I’ve done:**

1. I’ve configured my config.production.json log to match the attached image - followed this tutorial - [https://henryblack.co.uk/how-to-set-up-transactional-emails-in-ghost/](https://henryblack.co.uk/how-to-set-up-transactional-emails-in-ghost/) 

2. Team member invites are successfully being sent via mailgun - this is showing up in the mailgun analytics and i’m receiving the emails

3. Subscriber confirmation emails are not being sent at all

4. I’ve updated the newsletter email and support email address to [hey@andydao.co](mailto:hey@andydao.co) and all checks have passed on mailgun for emails to be sent via this domain.

If I can provide anything else do let me know!

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [January 12, 2021, 3:14pm UTC](https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437/2 "2021-01-12T15:14:33Z")

</div>

- `"port": 465` should be `"port": 587`, [465 is no longer recommended](https://www.mailgun.com/blog/which-smtp-port-understanding-ports-25-465-587/)
- `"secureConnection": true` should be `"secureConnection": false`, this will use STARTTLS after connecting so the connection is still secure bit it means the initial connection doesn’t require matching protocols up-front
- `"service": "Mailgun"` isn’t required because you’re setting the connection details manually but this shouldn’t stop anything from working

---

<div class="post-metadata">

**Author:** ![speedpoint0](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/speedpoint0/32/11184_2.png) [@speedpoint0](https://forum.ghost.org/u/speedpoint0)\
**Post date:** [January 14, 2021, 11:00am UTC](https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437/3 "2021-01-14T11:00:08Z")

</div>

Hey Kevin, thanks for getting back to me.

What was suggested above didn’t solve the problem though ☹

After tweaking things a bit with a fresh mind, turns out you have to allow free members to sign up in the members section for this to work.

 ![Screenshot 2021-01-14 at 10.58.34](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/8/8560a893a2e37cee23c02bfa38747da9140501fa.png)

---

<div class="post-metadata">

**Author:** ![juhaliikala](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/juhaliikala/32/1835_2.png) [@juhaliikala](https://forum.ghost.org/u/juhaliikala)\
**Post date:** [January 15, 2021, 9:58am UTC](https://forum.ghost.org/t/email-subscribe-transaction-email-isnt-sending/19437/4 "2021-01-15T09:58:19Z")

</div>

Just in case anyone else bumps into the same problem, I just recently started getting ERR\_SSL\_WRONG\_VERSION\_NUMBER errors in Ghost log (Digital Ocean Ghost install droplet) and subscribing did not work anymore (I have members enabled).

Changing `"secureConnection": false` in `config.production.json` seem to fix the problem. Not sure why it worked before with the setting set as true though 🙂
