# MailMessage

> Identity, formats, and presentation text of the Mail panel, shared by every adapter that renders it.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [Panel](/docs/extensions/debug-core/reference/panel/index.md) › [Mail](/docs/extensions/debug-core/reference/panel/mail/index.md) › MailMessage

| enum | `PHPForge\Debug\Panel\Mail\MailMessage` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Panel/Mail/MailMessage.php`](https://github.com/php-forge/debug-core/blob/main/src/Panel/Mail/MailMessage.php#L10) |

Identity, formats, and presentation text of the Mail panel, shared by every adapter that renders it.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-BCC"></span>`BCC` | `'Bcc'` | Detail field label of the blind carbon copy recipients. |
| <span id="case-BODY"></span>`BODY` | `'Body'` | Disclosure label of the message body. |
| <span id="case-CC"></span>`CC` | `'Cc'` | Detail field label of the carbon copy recipients. |
| <span id="case-CHARSET"></span>`CHARSET` | `'Charset'` | Detail field label of the message charset. |
| <span id="case-DATE_FORMAT"></span>`DATE_FORMAT` | `'M j, Y · H:i:s'` | `date()` format of the absolute timestamp in the detail overview. |
| <span id="case-EMAIL_SUFFIX"></span>`EMAIL_SUFFIX` | `' email'` | Suffix appended to a single captured message in the summary header. |
| <span id="case-EMAILS_SUFFIX"></span>`EMAILS_SUFFIX` | `' emails'` | Suffix appended to the captured message count in the summary header. |
| <span id="case-EMPTY_CAPTURE"></span>`EMPTY_CAPTURE` | `' is the capture hook; only requests that call '` | Middle sentence of the empty-state call to action, preceding the mailer call. |
| <span id="case-EMPTY_EXPLANATION"></span>`EMPTY_EXPLANATION` | `'This request did not dispatch any messages through the mailer, so the inbox is empty.'` | Explanation of the empty state when the request dispatched no message. |
| <span id="case-EMPTY_HEADLINE"></span>`EMPTY_HEADLINE` | `'No emails sent in this request'` | Headline of the empty state when the mailer captured no message. |
| <span id="case-EMPTY_HOOK"></span>`EMPTY_HOOK` | `'BaseMailer::EVENT_AFTER_SEND'` | Capture hook named in the empty state, which records a sent message. |
| <span id="case-EMPTY_POPULATE"></span>`EMPTY_POPULATE` | `' populate this view.'` | Closing sentence of the empty-state call to action, following the mailer call. |
| <span id="case-EMPTY_SEND"></span>`EMPTY_SEND` | `'$mailer->send()'` | Mailer call named in the empty state, whose invocation populates the panel. |
| <span id="case-FAILED_SUFFIX"></span>`FAILED_SUFFIX` | `' failed'` | Suffix appended to the rejected message count in the summary header. |
| <span id="case-FILE_NOT_FOUND"></span>`FILE_NOT_FOUND` | `'Mail file not found'` | Body of the `404` response when a requested `.eml` download does not exist in the mail directory. |
| <span id="case-FROM"></span>`FROM` | `'From'` | Header of the sender column, also used as its detail field label. |
| <span id="case-HEADERS"></span>`HEADERS` | `'Raw headers'` | Disclosure label of the raw message headers. |
| <span id="case-ID"></span>`ID` | `'mail'` | Stable identifier associating the panel with the captured payload, also used as its icon key. |
| <span id="case-MESSAGE_GROUP"></span>`MESSAGE_GROUP` | `'Message %d'` | `sprintf()` template of the detail group label of one message. |
| <span id="case-MESSAGE_HEADING"></span>`MESSAGE_HEADING` | `'%d. %s'` | `sprintf()` template of the heading preceding each detail group. |
| <span id="case-NO_BODY"></span>`NO_BODY` | `'The mailer captured no body for this message.'` | Note of the detail group when the mailer captured no body. |
| <span id="case-NUMBER"></span>`NUMBER` | `'#'` | Header of the position column, which sorts by send order. |
| <span id="case-PLACEHOLDER"></span>`PLACEHOLDER` | `'—'` | Placeholder shown wherever the capture left a field empty. |
| <span id="case-PREVIOUS_REQUEST"></span>`PREVIOUS_REQUEST` | `'Sent in the previous request (%s %s) — open it.'` | `sprintf()` template of the toolbar metric tooltip that opens the request which sent the mail before a redirect; it receives the request method and path. |
| <span id="case-REPLY_TO"></span>`REPLY_TO` | `'Reply-To'` | Detail field label of the reply-to recipients. |
| <span id="case-SENT_AT"></span>`SENT_AT` | `'Sent at'` | Detail field label of the absolute send time. |
| <span id="case-STATUS"></span>`STATUS` | `'Status'` | Header of the delivery status column, also used as its detail field label. |
| <span id="case-STATUS_FAILED"></span>`STATUS_FAILED` | `'Failed'` | Badge label of a message the mailer rejected. |
| <span id="case-STATUS_SENT"></span>`STATUS_SENT` | `'Sent'` | Badge label of a message the mailer delivered. |
| <span id="case-STORED_FILE"></span>`STORED_FILE` | `'Stored file'` | Detail field label of the stored message file. |
| <span id="case-SUBJECT"></span>`SUBJECT` | `'Subject'` | Header of the subject column, also used as its detail field label. |
| <span id="case-SUBJECT_FALLBACK"></span>`SUBJECT_FALLBACK` | `'(no subject)'` | Subject shown when the mailer captured none. |
| <span id="case-TIME"></span>`TIME` | `'Time'` | Header of the send-time column. |
| <span id="case-TIME_FORMAT"></span>`TIME_FORMAT` | `'H:i:s'` | `date()` format of the clock-only timestamp in the summary table. |
| <span id="case-TITLE"></span>`TITLE` | `'Mail'` | Panel title used in the debugger navigation. |
| <span id="case-TO"></span>`TO` | `'To'` | Header of the recipient column, also used as its detail field label. |
| <span id="case-TOOLBAR"></span>`TOOLBAR` | `'Emails'` | Label of the toolbar metric counting the captured messages. |