mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #71] Easily view email headers #46
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stef1904berg on GitHub (Mar 22, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/71
Is it possible to add a section to the email information that shows the headers sent with the email?
There already is an endpoint of the api that allows you to retrieve the headers (
api/v1/message/<ID>/headers) but its not used in the webUI.Being able to easily inspect the headers would be very useful as searching for them in the raw email can be difficult.
@axllent commented on GitHub (Mar 22, 2023):
Clicking on the "Raw" tab in the web UI displays the message source, starting with the headers. Is that not sufficient as it displays the actual headers in their original format? If not, then can you please explain why?
The API endpoint was added for other purposes (automated testing), and extracting the headers and grouping by header type programmatically isn't an accurate indication as you loose the header order and their formatting.
@stef1904berg commented on GitHub (Mar 23, 2023):
In my opinion it just feel its very cluttered/noisy, for some people (including me) it can be hard to read as there is so much text around it. A small list that would show the headers would be much cleaner and nicer on the eyes.
It would also help viewing the headers on a quick glance, having custom headers always show up and standard headers hidden away behind a drop down (for example).
@axllent commented on GitHub (Apr 1, 2023):
I have just added this feature in v1.5.2. Please try it and confirm it works for you as expected, thanks.
@axllent commented on GitHub (Apr 21, 2023):
I'm closing this issue as it has been three weeks since this feature was added.