Send emails error

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi! I’m trying to send a test email to my Gmail account using the default email provider (sendmail), but It throws this error

7|backend  | [2021-01-21T02:13:35.828Z] error Error: SMTP code:550 msg:550-5.7.26 This message does not have authentication information or fails to
7|backend  | 550-5.7.26 pass authentication checks. To best protect our users from spam, the
7|backend  | 550-5.7.26 message has been blocked. Please visit
7|backend  | 550-5.7.26  https://support.google.com/mail/answer/81126#authentication for more
7|backend  | 550 5.7.26 information. x193si4430478pfd.305 - gsmtp

And if I send it to another email (not from Google) it shows this error

7|backend | [2021-01-21T02:33:21.856Z] error Error: SMTP code:550 msg:550 5.7.511 Access denied, banned sender[MYIPADDRESS]. To request removal from this list please forward this message to delist@messaging.microsoft.com. For more information please go to http://go.microsoft.com/fwlink/?LinkId=526653. AS(1410) [BN7NAM10FT011.eop-nam10.prod.protection.outlook.com]

My server is on DigitalOcean, do I need to make some configuration to it?

Badluck, the previous ip owner was kind of spamer and ip got blacklisted. You need to delist that ip or to request another ip from DigitalOcean.

Thanks, I create another droplet and I can successfully send an email to a Non-Google Account.