# Bulk Mail Works, But I Can't Invite Staff

**URL:** <https://forum.ghost.org/t/bulk-mail-works-but-i-cant-invite-staff/26289>\
**Category:** Developer help\
**Created:** [October 15, 2021, 5:28am UTC](https://forum.ghost.org/t/bulk-mail-works-but-i-cant-invite-staff/26289 "2021-10-15T05:28:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hawkfly7](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hawkfly7/32/14646_2.png) [@hawkfly7](https://forum.ghost.org/u/hawkfly7)\
**Post date:** [October 15, 2021, 5:28am UTC](https://forum.ghost.org/t/bulk-mail-works-but-i-cant-invite-staff/26289/1 "2021-10-15T05:28:17Z")

</div>

**What’s your URL**?

> **[Hawkin Saeger](https://hawkinsaeger.com/)**
>
> I am a data analyst, outdoor explorer, and avid soccer fan. This site is a place to explore my hobbies and share my experience and learnings with you!

**What version of Ghost are you using?**  
I have version 4.18.0 with CLI version 1.17.3

**How was Ghost installed and configured?**  
I installed using the one-click install and it is hosted on Digital Ocean  
**What Node version, database, OS & browser are you using?**  
Brave Browser (built on Chromium like Chrome), unsure on database (the standard one I guess), Node version 14.18.0

**What errors or information do you see in the console?**  
I updated my config.production.json file to be set up with Mailgun. Emailing blog posts to members has worked perfectly. I just tried to invite a Staff member though and the email does not go through. I see this error:

 ![Screenshot 2021-10-14 232453](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/5/57ce85f783ff087614f7774043e824c41f43b796.png)

This is what my ghost log looks like

 ![Screenshot 2021-10-14 232049](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/f/feb1d573761b4d180c29a13ae9d418913a6a783c.jpeg)

I have done a lot of research and my mail config looks correct so I am confused what is causing this issue. Here is my mail config

```auto
"mail": {
    "transport": "SMTP",
    "options": {
      "service": "Mailgun",
      "host": "smtp.mailgun.org",
      "port": 587,
      "auth": {
        "user": "MY MAILGUN USERNAME",
        "pass": "PASSWORD HERE"
      }
    }

```

---

<div class="post-metadata">

**Author:** ![hawkfly7](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hawkfly7/32/14646_2.png) [@hawkfly7](https://forum.ghost.org/u/hawkfly7)\
**Post date:** [October 16, 2021, 4:31pm UTC](https://forum.ghost.org/t/bulk-mail-works-but-i-cant-invite-staff/26289/2 "2021-10-16T16:31:24Z")

</div>

I seem to have figured it out by adding

“secure”: false

to the mail section of the config file.
