samedi 19 octobre 2019

set mail driver dynamically from database for different different email in notification + Laravel

I want to set 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 option to set this value from 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 adavance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire