Hi,
Some users are encountering an error on signup from the members magic-link api.
“Failed to load resource: the server responded with a status of 500 ()”
LOGS:
{"name":"Log","hostname":"volta-media-ghost","pid":30113,"level":50,"err":{"id":"eca14560-99af-11ea-9d42-957147131a61","domain":"https://voltamedia.co","code":null,"name":"EmailError","statusCode":500,"level":"normal","message":"Failed to send email.","help":"\"Please see https://ghost.org/docs/concepts/config/#mail for instructions on configuring email.\"","stack":"EmailError: Failed to send email.\n at EmailError.GhostError (/var/www/ghost/versions/3.15.3/node_modules/@tryghost/errors/lib/errors.js:10:26)\n at new EmailError (/var/www/ghost/versions/3.15.3/node_modules/@tryghost/errors/lib/errors.js:34:20)\n at createMailError (/var/www/ghost/versions/3.15.3/core/server/services/mail/GhostMailer.js:51:12)\n at EventEmitter.<anonymous> (/var/www/ghost/versions/3.15.3/core/server/services/mail/GhostMailer.js:112:24)\n at Object.onceWrapper (events.js:417:26)\n at EventEmitter.emit (events.js:310:20)\n at EventEmitter.emit (domain.js:482:12)\n at DirectMailer.<anonymous> (/var/www/ghost/versions/3.15.3/node_modules/directmail/lib/mailer.js:174:38)\n at SMTPClient.<anonymous> (/var/www/ghost/versions/3.15.3/node_modules/directmail/lib/mailer.js:292:13)\n at Object.onceWrapper (events.js:416:28)\n at SMTPClient.emit (events.js:310:20)\n at SMTPClient.EventEmitter.emit (domain.js:482:12)\n at SMTPClient._destroy (/var/www/ghost/versions/3.15.3/node_modules/simplesmtp/lib/client.js:310:10)\n at SMTPClient._onEnd (/var/www/ghost/versions/3.15.3/node_modules/simplesmtp/lib/client.js:410:10)\n at Socket.emit (events.js:322:22)\n at Socket.EventEmitter.emit (domain.js:482:12)\n at endReadableNT (_stream_readable.js:1187:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)"},"msg":"Failed to send email.","time":"2020-05-19T09:05:45.658Z","v":0}
The email address they are using is correct.
I have tried manually adding them, but they get an error on sign in as well.
This isn’t happening for everyone though.
The errors seem to be happening for Gmail address, iCloud, Outlook etc, but seems fine for non ESP top level domains.
I am using the Ghost admin integration with MailGun for my email service.