: MailHog lists every part of the email (text, HTML, and attachments) as individual MIME parts.

: Click on the name or the "Download" link associated with the specific MIME part representing your attachment.

: Use the following GET request: GET /api/v1/messages/{message_id}/mime/part/{part_index}/download

For developers automating tests, the MailHog API provides endpoints to retrieve message parts directly:

: To get the entire email including all attachments in one file: GET /api/v1/messages/{message_id}/download 3. Troubleshooting Common Issues If you cannot see or download your attachments:

To download attachments in MailHog, you can use the within the web interface or the MailHog API for programmatic access. While MailHog is a powerful tool for local email testing , its user interface handles attachments differently than standard email clients. 1. Downloading Attachments via the Web UI

: Click on the specific email in your inbox list to open the message view.