Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Neamix's avatar

Mailgun Request to Mailgun API failed.

Greeting, i have the following problem with mailgun : Mailgun Request to Mailgun API failed.

and here is my .env

MAIL_MAILER=mailgun MAIL_HOST=smtp.mailgun.org MAIL_PORT=587 MAIL_USERNAME=postmaster@xxxx MAIL_PASSWORD=37a7xxxxxxxxxxxxxxxxxxx-xxxxxxxxxx-xxxxxx MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=null MAIL_FROM_NAME="${APP_NAME}"

MAILGUN_DOMAIN=sandboxxxxxxxxxxxxxxxxxx.mailgun.org MAILGUN_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx-xxxxxx-xxxx MAILGUN_ENDPOINT=api.mailgun.net

what i am doing wrong

0 likes
1 reply
MohamedTammam's avatar

Firstly, copy your config from mail gun directly.

Make sure you have a running plan.

Most importantly show us what error you get or describe what do mean by "failed"

Please or to participate in this conversation.