# Command: `test:command`

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

---

## Command Output

10:34:30 [INFO] --- Mail Configuration ---

10:34:30 [INFO] --- Mail Configuration ---

10:34:30 [INFO] Default Mailer (MAIL\_MAILER): mailgun

10:34:30 [INFO] Default Mailer (MAIL\_MAILER): mailgun

10:34:30 [INFO] Default From Address (MAIL\_FROM\_ADDRESS): hello@example.com

10:34:30 [INFO] Default From Address (MAIL\_FROM\_ADDRESS): hello@example.com

10:34:30 [INFO] Default From Name (MAIL\_FROM\_NAME): Example

10:34:30 [INFO] Default From Name (MAIL\_FROM\_NAME): Example

10:34:30 [INFO] --------------------------

10:34:30 [INFO] --------------------------

10:34:30 [INFO] Attempting to send email via mailer: mailgun

10:34:30 [INFO] Attempting to send email via mailer: mailgun

10:34:30 [INFO] Using Mailgun configuration: domain='mg.kokos.io', endpoint='api.eu.mailgun.net' (Secret is SET)

10:34:30 [INFO] Using Mailgun configuration: domain='mg.kokos.io', endpoint='api.eu.mailgun.net' (Secret is SET)

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

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

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

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

10:34:30 [WARNING] Please verify the following:

10:34:30 [WARNING] Please verify the following:

10:34:30 [WARNING] 1. MAILGUN\_DOMAIN ('mg.kokos.io') in your .env file is correct and \*\*verified\*\* in your Mailgun account dashboard.

10:34:30 [WARNING] 1. MAILGUN\_DOMAIN ('mg.kokos.io') in your .env file is correct and \*\*verified\*\* in your Mailgun account dashboard.

10:34:30 [WARNING] 2. MAILGUN\_SECRET in your .env file is the correct \*\*Sending API key\*\* for the domain and has necessary permissions.

10:34:30 [WARNING] 2. MAILGUN\_SECRET in your .env file is the correct \*\*Sending API key\*\* for the domain and has necessary permissions.

10:34:30 [WARNING] 3. Both MAILGUN\_DOMAIN and MAILGUN\_SECRET are correctly referenced in config/services.php under the 'mailgun' key.

10:34:30 [WARNING] 3. Both MAILGUN\_DOMAIN and MAILGUN\_SECRET are correctly referenced in config/services.php under the 'mailgun' key.

10:34:30 [WARNING] Example in config/services.php:

10:34:30 [WARNING] Example in config/services.php:

10:34:30 [WARNING] 'mailgun' =\> \[

10:34:30 [WARNING] 'mailgun' =\> \[

10:34:30 [WARNING] 'domain' =\> env('MAILGUN\_DOMAIN'),

10:34:30 [WARNING] 'domain' =\> env('MAILGUN\_DOMAIN'),

10:34:30 [WARNING] 'secret' =\> env('MAILGUN\_SECRET'),

10:34:30 [WARNING] 'secret' =\> env('MAILGUN\_SECRET'),

10:34:30 [WARNING] 'endpoint' =\> env('MAILGUN\_ENDPOINT', 'api.mailgun.net'),

10:34:30 [WARNING] 'endpoint' =\> env('MAILGUN\_ENDPOINT', 'api.mailgun.net'),

10:34:30 [WARNING] \],

10:34:30 [WARNING] \],

10:34:30 [WARNING] 4. Check the \*\*Mailgun Dashboard Logs\*\* for more specific details about the 401 error. This often provides the exact reason.

10:34:30 [WARNING] 4. Check the \*\*Mailgun Dashboard Logs\*\* for more specific details about the 401 error. This often provides the exact reason.

10:34:30 [WARNING] 5. Ensure MAIL\_FROM\_ADDRESS ('hello@example.com') is a valid sending address for your Mailgun domain ('mg.kokos.io').

10:34:30 [WARNING] 5. Ensure MAIL\_FROM\_ADDRESS ('hello@example.com') is a valid sending address for your Mailgun domain ('mg.kokos.io').

10:34:30 [INFO] Default mailer is 'mailgun', which already failed with the 401 error above. Please review the Mailgun troubleshooting steps.

10:34:30 [INFO] Default mailer is 'mailgun', which already failed with the 401 error above. Please review the Mailgun troubleshooting steps.

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-06-07T12:31:54+00:00*
