mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #154] Feature Request: Allow customizing HTML Title #104
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#104
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 @bb on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/154
Currently the HTML Title is always "Mailpit". This is fine as long as only one instance is used.
With multiple environments, e.g. local and staging, I'm running multiple instances so it would be great if I could name them "Mailpit Local" and "Mailpit Staging".
Adding e.g.
MP_UI_TITLEand--ui-titlewith default "Mailpit" would be great.What do you think?
@axllent commented on GitHub (Aug 15, 2023):
Interesting suggestion @bb. When you say HTML title, I assume you mean the
<title>in the<head>(ie: the tab name), and not the "Mailpit" title (headling/link) at the top of the page?When I started Mailpit I made an intentional effort to keep the CLI flags/options to a minimum, but that grew and grew as popularity picked up and feature requests came in. I still have to make a conscious effort to keep things as simple as possible where avoidable so I'd rather not add new flags if they can be achieved in a different manner.
Thinking aloud here ~ are your Mailpit servers running on the same hostname/ip? What I mean is, what if I simply used the current hostname (that you were accessing Mailpit with) in the
<head><title>, so for exampleMailpit - staging.example.com? Would that work for you?@bb commented on GitHub (Aug 15, 2023):
Exactly: title in head 👍
I understand your concern. Adding the Hostname would be fine for me.
@axllent commented on GitHub (Aug 16, 2023):
I have just released this feature in v1.8.2. Please upgrade and let me know what you think?
@bb commented on GitHub (Aug 16, 2023):
That's great! Thank you ❤️