I am trying to send email in Laravel using Swift Mailer with markdown, i have been still trying from last 3 days but No Exact Solution found.
I have the .env file which is working properly in Local server. But, same env if I referred then I am getting above error.
I am not able to find what is wrong with my code.
Already Referred given solutions on google.
.env file:-
APP_NAME=Laravel
APP_ENV=local
APP_KEY=xx
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=xx
DB_DATABASE=xx
DB_USERNAME=xx
DB_PASSWORD=
BROADCAST_DRIVER=pusher
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=xxxxxxxxxxx
MAIL_PASSWORD=xxxxxxxx
MAIL_ENCRYPTION=tls
MAIL_ADDRESS=xxxxxxxxxxxx