How to specify sender in Laravel 11 instead of declaring globally
I want to send email through smtp.gmail.com connection but with a sender declared in dynamic way. MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME="" MAIL_PASSWORD= MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS= MAIL_FROM_NAME="${APP_NAME}" In above code I declared username, mail-from-address, password But I want to set sender in my…