mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #236] Feature idea: Display of List-Unsubscribe Header #156
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#156
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 @kronthto on GitHub (Jan 16, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/236
It could be nice to check for existance of the combinations of these headers:
And give feedback whether they are valid (e.g. not missing the < > signs) and render a preview of the Unsubscribe button mailbox providers sometimes show.
@axllent commented on GitHub (Jan 16, 2024):
Thanks for the suggestion. I'm not too sure about the validation (ie: just because they are formatted correctly does not mean they work so it would give a false sense of security), but displaying the field if it exists sounds good. I'll need to do some further reading on the one click thing as this seems very specific to just a few clients.
Don't hold your breath though, I'm working on a larger piece of code right now (integration with SpamAssasin to display a general spam score), and am really busy at work, but I'll see what I can do 👍
@axllent commented on GitHub (Jan 20, 2024):
@kronthto The solution I have come up with (to be included in the next release) will display an
Unsubscribe"link" next to the "From" line if theList-Unsubscribeheader exists. When clicked it will show the parsed (valid) email and/or http unsubscribe inks below the tags (hidden by default). If there are validation errors, these will be displayed as icons which, when clicked or hovered over will display a tooltip with the error. If there are any errors then theUnsubscribelink will also display a red icon to alert you.If the message also contains a
List-Unsubscribe-Postwhen another icon is displayed with the tooltop of the header value.Is this what you were after?
@axllent commented on GitHub (Jan 21, 2024):
This new feature has just been released in v1.13.0. I also added syntax validation with a number of checks for valid and invalid
List-Unsubscribesyntax (based on the information I studied).Please feel free to re-open this ticket if this does not work as you expected?
@kronthto commented on GitHub (Jan 21, 2024):
Wow this is awesome, great work!
@VitoBryliano commented on GitHub (Dec 5, 2024):
Hello! I have also this problem, I can't see link to unsubscribe in from section.
I run it in docker with axllent/mailpit:v1.10.3 image
Can you help me, why I don't see this unsubscribe?
@axllent commented on GitHub (Dec 5, 2024):
You don't see it because you are running a very old version of Mailpit. This functionality was released in V1.13.0. Please update your Mailpit.
@VitoBryliano commented on GitHub (Dec 5, 2024):
I'm inattentive, but with version 1.13.3 is working correct! Thank you for quick answer! It
@axllent commented on GitHub (Dec 5, 2024):
@brilik You should really always use the latest release which is currently v1.21.5.