0

I'm trying to send test emails to my newly created Mailtrap inbox, but the problem I'm having is that nothing gets sent to that inbox, and when I check my log file, I have the following.

local.ERROR: Failed to authenticate on SMTP server with username "old_mailtrap_username" using 3 possible authenticators. Authenticator CRAM-MD5 returned Expected response code 235 but got code "535", with message "535 5.7.0 Monthly messages limit reached.

So I tried to run composer dump-autoload, php artisan config:cache and php artisan config:clear, but I'm still getting the above error.

.env

MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=new_mailtrap_username
MAIL_PASSWORD=new_mailtrap_password
Karl Hill
  • 12,937
  • 5
  • 58
  • 95
Aurilie
  • 189
  • 3
  • 14

1 Answers1

0

try like this

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=  //add your mailtrap address here 
//Example - 0ee75dc4e8-236@inbox.mailtrap.io
MAIL_FROM_NAME="${APP_NAME}"
Rushikesh Ganesh
  • 290
  • 2
  • 16