Laravel - Sendgrid smtp error “550 Unauthenticated senders not allowed”

前端 未结 2 832
不知归路
不知归路 2021-01-27 03:19

I am following Sendgrid laravel integration using smtp to send email.

I did as the documentation says, all credentials are same as my sendgrid credentials.

But w

相关标签:
2条回答
  • 2021-01-27 03:51

    "550 Unauthenticated senders not allowed" explicitly means that you're system is not attempting to Authenticate. So you're not actually sending your credentials through. You should review your Laravel configuration, and make sure that it will send the AUTH command before sending the MAIL FROM: command.

    0 讨论(0)
  • 2021-01-27 03:55

    I have faced same issue in my team and once I check with developer, developer added sendgrid credentials both in .env file and config/mail.php file.

    May be same issue happening there, if so revert the config/mail.php with the one created in laravel installation.

    0 讨论(0)
提交回复
热议问题