Konstruktionsplan
6 months ago
577
1
Laravel

Laravel 7 + MailHog

Posted 6 months ago by Konstruktionsplan

Hello! Since I started using Laravel 7, my local MailHog is not working anymore.

Swift_TransportException
Cannot send message without a sender address

My configs:

MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

Please sign in or create an account to participate in this conversation.