[GH-ISSUE #316] Add label to differ between different instances #206

Closed
opened 2026-03-15 13:11:20 +03:00 by kerem · 6 comments
Owner

Originally created by @Chris53897 on GitHub (Jun 20, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/316

It would be great to have a label, that is displayed right to the name in the gui.
With this people can see direct, in which instance they are.

Maybe something like MP_LABEL or MP_TITLE
https://mailpit.axllent.org/docs/install/docker/

Originally created by @Chris53897 on GitHub (Jun 20, 2024). Original GitHub issue: https://github.com/axllent/mailpit/issues/316 It would be great to have a label, that is displayed right to the name in the gui. With this people can see direct, in which instance they are. Maybe something like `MP_LABEL` or `MP_TITLE` https://mailpit.axllent.org/docs/install/docker/
kerem 2026-03-15 13:11:20 +03:00
Author
Owner

@axllent commented on GitHub (Jun 20, 2024):

This is an interesting idea. Next to the logo won't work as there isn't enough space (specifically on mobile), but above the Inbox button probably would work.

For context, could you please explain how you're using Mailpit, specifically why there may be confusion as to which instance it is?

<!-- gh-comment-id:2180246078 --> @axllent commented on GitHub (Jun 20, 2024): This is an interesting idea. Next to the logo won't work as there isn't enough space (specifically on mobile), but above the Inbox button probably would work. For context, could you please explain how you're using Mailpit, specifically why there may be confusion as to which instance it is?
Author
Owner

@Chris53897 commented on GitHub (Jun 20, 2024):

I have 3 symfony projects running with Mailpit includet locally at the same time.
They run at http://localhost:[PORT]
I can only differ them via the port.
Of course if there are e-mail in the inbox it is a bit easier.

<!-- gh-comment-id:2180315502 --> @Chris53897 commented on GitHub (Jun 20, 2024): I have 3 symfony projects running with Mailpit includet locally at the same time. They run at http://localhost:[PORT] I can only differ them via the port. Of course if there are e-mail in the inbox it is a bit easier.
Author
Owner

@axllent commented on GitHub (Jun 20, 2024):

Makes sense.... I'll look into this in the coming days 👍

<!-- gh-comment-id:2180329346 --> @axllent commented on GitHub (Jun 20, 2024): Makes sense.... I'll look into this in the coming days :+1:
Author
Owner

@axllent commented on GitHub (Jun 21, 2024):

I have added this feature, although this has not been released yet as I just released a new version 2 days ago (so I will wait a few more days so I don't annoy package maintainers... sorry).

The --label (or env MP_LABEL) will do the following:

  • Set a "label" in the web UI above the "Inbox" (and similar buttons in other parts of the website) on the left
  • Add the label to the HTML head title (tabs / bookmarks)
  • Add the label to both the SMTP and optional POP3 servers

Screenshot 2024-06-21 at 17-02-03 Mailpit - My server!

I'll let you know when this gets released. Can you please tell me if this approach is suitable?

<!-- gh-comment-id:2182006632 --> @axllent commented on GitHub (Jun 21, 2024): I have added this feature, although this has not been released yet as I just released a new version 2 days ago (so I will wait a few more days so I don't annoy package maintainers... sorry). The `--label` (or env `MP_LABEL`) will do the following: - Set a "label" in the web UI above the "Inbox" (and similar buttons in other parts of the website) on the left - Add the label to the HTML head title (tabs / bookmarks) - Add the label to both the SMTP and optional POP3 servers ![Screenshot 2024-06-21 at 17-02-03 Mailpit - My server!](https://github.com/axllent/mailpit/assets/1463435/239daa79-e7ab-4b6c-99aa-0c77f393116e) I'll let you know when this gets released. Can you please tell me if this approach is suitable?
Author
Owner

@Chris53897 commented on GitHub (Jun 22, 2024):

Thanks

<!-- gh-comment-id:2183962558 --> @Chris53897 commented on GitHub (Jun 22, 2024): Thanks
Author
Owner

@axllent commented on GitHub (Jun 22, 2024):

This feature has been released in v1.18.7. Please feel free to re-open this ticket if you experience any issues, and also please let me know if it solves your issue, thanks.

<!-- gh-comment-id:2184004198 --> @axllent commented on GitHub (Jun 22, 2024): This feature has been released in [v1.18.7](https://github.com/axllent/mailpit/releases/tag/v1.18.7). Please feel free to re-open this ticket if you experience any issues, and also please let me know if it solves your issue, thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#206
No description provided.