In the .env file, I was declaring this environment variable:
MAILGUN_DOMAIN=https://www.example.com
Writing the domain name like this fixed my issue:
MAILGUN_DOMAIN=example.com
In the .env file, I was declaring this environment variable:
MAILGUN_DOMAIN=https://www.example.com
Writing the domain name like this fixed my issue:
MAILGUN_DOMAIN=example.com