# Command: `test:command`

**Description**: Use for testing purposes only
**Status**: completed
**Started**: 2025-05-23 10:28:39 | **Ended**: 2025-05-23 10:28:40 | **Duration**: 1s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

10:28:39 [INFO] Attempting to send email via mailer: mailgun

10:28:39 [INFO] Attempting to send email via mailer: mailgun

10:28:39 [INFO] Using Mailgun configuration: domain='mg.kokos.io', endpoint='api.eu.mailgun.net'

10:28:39 [INFO] Using Mailgun configuration: domain='mg.kokos.io', endpoint='api.eu.mailgun.net'

10:28:40 [ERROR] Failed to send test email using mailgun mailer: Unable to send an email: Forbidden (code 401).

10:28:40 [ERROR] Failed to send test email using mailgun mailer: Unable to send an email: Forbidden (code 401).

10:28:40 [WARNING] A '401 Forbidden' error usually indicates an issue with your Mailgun API key (secret) or domain.

10:28:40 [WARNING] A '401 Forbidden' error usually indicates an issue with your Mailgun API key (secret) or domain.

10:28:40 [WARNING] Please verify the following:

10:28:40 [WARNING] Please verify the following:

10:28:40 [WARNING] 1. MAILGUN\_DOMAIN ('mg.kokos.io') is correct and verified in your Mailgun account.

10:28:40 [WARNING] 1. MAILGUN\_DOMAIN ('mg.kokos.io') is correct and verified in your Mailgun account.

10:28:40 [WARNING] 2. MAILGUN\_SECRET is the correct API key for the domain and has sending permissions.

10:28:40 [WARNING] 2. MAILGUN\_SECRET is the correct API key for the domain and has sending permissions.

10:28:40 [WARNING] 3. Both are correctly set in your .env file and referenced in config/services.php.

10:28:40 [WARNING] 3. Both are correctly set in your .env file and referenced in config/services.php.

10:28:40 [INFO] Attempting to send email via default mailer: mailgun

10:28:40 [INFO] Attempting to send email via default mailer: mailgun

10:28:40 [ERROR] Failed to send test email using default mailer (mailgun): Unable to send an email: Forbidden (code 401).

10:28:40 [ERROR] Failed to send test email using default mailer (mailgun): Unable to send an email: Forbidden (code 401).

10:28:40 [WARNING] The default mailer also failed with a '401 Forbidden' error. Please double-check your Mailgun credentials (MAILGUN\_DOMAIN, MAILGUN\_SECRET) in .env and config/services.php, and ensure the domain is verified and the API key has permissions in Mailgun.

10:28:40 [WARNING] The default mailer also failed with a '401 Forbidden' error. Please double-check your Mailgun credentials (MAILGUN\_DOMAIN, MAILGUN\_SECRET) in .env and config/services.php, and ensure the domain is verified and the API key has permissions in Mailgun.

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-06-07T12:34:06+00:00*
