Emails wont send over sendgrid

Hi Team, I just spun up a new ghost instance using docker compose, everything seems to be going super well However whenerver I try ans send out invitation emails I get a big red bar at the top saying

Error sending email: Failed to send email. Reason: Authentication required, invalid details provided. Please check your email settings and resend the invitation.

I am confused as to why this is the case although I have tried to set up the SendGrid using the avaible mail options see below for my docker compose
version: ‘3.2’


    image: ghost:latest
      - xxxx:2368
      url: url
      mail__transport: SMTP
      mail__options__port: 587
      mail__options__auth __user: apikey
      mail__options__auth__pass: SG.xd
      mail__options__service: Sendgrid
      - /opt/ghost_content:/var/lib/ghost/content

Are you hosting on Digital Ocean? My mail quit working yesterday and I don’t know why. I think Digital Ocean is blocking. I use Mailgun and I get a similar error and the error comes up so fast that it leads me to think it is blocked at the server.

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