Email SMTP settings
Go to .env file from the root folder of the application & set up the configuration. by using these credentials email notifications will be sent to Customer/Support agent. supported mailers are "smtp", "sendmail", "mailgun", "ses", "postmark" etc.
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME=
- MAIL_MAILER : Your mail transport driver ex. smtp
- MAIL_HOST : Mail server of your choice like if you want to use gmail write smtp.gmail.com
- MAIL_PORT : Based on which encryprtion type you choose.
- MAIL_USERNAME : Your email address, if you want to use gmail, then your gmail address
- MAIL_PASSWORD : Your email address password
- MAIL_ENCRYPTION : Choose your encryption type ex. tls/ssl
- MAIL_FROM_ADDRESS : Email address that you want to display in from email
- MAIL_FROM_NAME: Name that you want to display in from name