set mail driver dynamically from database for different email in notification
问题 I want to set the following setting dynamically before I notify the user. MAIL_DRIVER= MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_SENDER_EMAIL= MAIL_SENDER_NAME= for each customer they have the option to set this value from the frontend now I need to send email as per there setting is there any way in laravel I can do this. I am using notification to notify each customer so before I notify I want to set this option dynamically from DB. Thanks in advance. 回答1: these env variables