Laravel error when sending custom email address using smtp server
You might have crossed check every bit of line you have. The issue is with mailtrap.io it self. If your configuration is actually like this below.
MAIL_MAILER=smtpMAIL_HOST=smtp.mailtrap.ioMAIL_PORT=2525MAIL_USERNAME=31466861b7bXXXMAIL_PASSWORD=fe2b6503618XXXMAIL_ENCRYPTION=null
I tested with two separate framework to proof this error. check the SMTP credentials try resetting the credentials.