Members beta "From address" failed, email send failed

I’m trying to setup members beta, and when I try to set the from address I got a “retry” button.
I checked the logs, it shows EmailError: Failed to send email. Reason: Mail from command failed - 501 Invalid command or cannot parse from address.

The from address I set is:
“newsletters@members.innovacreation.studio”

My mailgun domain is “members.innovacreation.studio”

I tried to invite an editor the invitation email sent out successfully, so I think my SMTP setup should be correct. Just in case, the settings:

      mail__transport: "SMTP"
      mail__from: "'Innova Creation' <no-reply@members.innovacreation.studio>"
      mail__options__host: "smtp.mailgun.org"
      mail__options__service: "Mailgun"
      mail__options__port: 465
      mail__options__secureConnection: "true"
      mail__options__auth__user: "postmaster@members.innovacreation.studio"
  • What’s your URL? innovacreation.studio
  • What version of Ghost are you using? 3.28
ghost_1  | Failed to send email.
ghost_1  |
ghost_1  | "Please see https://ghost.org/docs/concepts/config/#mail for instructions on configuring email."
ghost_1  |
ghost_1  | Error ID:
ghost_1  |     914995e0-d93e-11ea-880b-5b432f40b424
ghost_1  |
ghost_1  | ----------------------------------------
ghost_1  |
ghost_1  | BadRequestError: Failed to send email.
ghost_1  |     at new BadRequestError (/var/lib/ghost/versions/3.28.0/node_modules/ghost-ignition/lib/errors/index.js:113:23)
ghost_1  |     at Object.query (/var/lib/ghost/versions/3.28.0/core/server/api/canary/settings.js:135:23)
ghost_1  |
ghost_1  | EmailError: Failed to send email. Reason: Mail from command failed - 501 Invalid command or cannot parse from address.
ghost_1  |     at EmailError.GhostError (/var/lib/ghost/versions/3.28.0/node_modules/@tryghost/errors/lib/errors.js:10:26)
ghost_1  |     at new EmailError (/var/lib/ghost/versions/3.28.0/node_modules/@tryghost/errors/lib/errors.js:34:20)
ghost_1  |     at createMailError (/var/lib/ghost/versions/3.28.0/core/server/services/mail/GhostMailer.js:52:12)
ghost_1  |     at MailComposer.returnCallback (/var/lib/ghost/versions/3.28.0/core/server/services/mail/GhostMailer.js:95:28)
ghost_1  |     at SMTPConnectionPool._onConnectionError (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/pool.js:334:17)
ghost_1  |     at SMTPClient.emit (events.js:315:20)
ghost_1  |     at SMTPClient.EventEmitter.emit (domain.js:483:12)
ghost_1  |     at SMTPClient._onError (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/client.js:373:10)
ghost_1  |     at SMTPClient._actionMAIL (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/client.js:981:14)
ghost_1  |     at SMTPClient._onData (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/client.js:354:29)
ghost_1  |     at TLSSocket.emit (events.js:315:20)
ghost_1  |     at TLSSocket.EventEmitter.emit (domain.js:483:12)
ghost_1  |     at addChunk (_stream_readable.js:295:12)
ghost_1  |     at readableAddChunk (_stream_readable.js:271:9)
ghost_1  |     at TLSSocket.Readable.push (_stream_readable.js:212:10)
ghost_1  |     at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)
ghost_1  |
ghost_1  | SenderError: Mail from command failed - 501 Invalid command or cannot parse from address
ghost_1  |     at SMTPClient._actionMAIL (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/client.js:981:23)
ghost_1  |     at SMTPClient._onData (/var/lib/ghost/versions/3.28.0/node_modules/simplesmtp/lib/client.js:354:29)
ghost_1  |     at TLSSocket.emit (events.js:315:20)
ghost_1  |     at TLSSocket.EventEmitter.emit (domain.js:483:12)
ghost_1  |     at addChunk (_stream_readable.js:295:12)
ghost_1  |     at readableAddChunk (_stream_readable.js:271:9)
ghost_1  |     at TLSSocket.Readable.push (_stream_readable.js:212:10)
ghost_1  |     at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)
ghost_1  |

Try setting the variable like this (no single quotes wrapping the name):

mail__from: "Innova Creation <no-reply@members.innovacreation.studio>"

Doesn’t seem to work