mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #93] Automatically reload/refresh inbox in UI #61
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#61
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 @D3strukt0r on GitHub (Apr 18, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/93
The company I work for has recently switched over to your tool, and there is certainly one feature I have been missing, which is that the inbox reloads automatically. If I immediatly saw that a new mail came in, it would hinder my development process less. Maybe make it configurable or something.
@axllent commented on GitHub (Apr 18, 2023):
Hi @D3strukt0r. This feature already exists and is always enabled. If I had to take a calculated guess, you are accessing the Mailpit http server via a proxy, an I right (eg: Apache it Nginx)? Can you confirm please, and is so, what proxy are you using?
@D3strukt0r commented on GitHub (Apr 19, 2023):
@axllent Oh I didn't know that, then I don't know what I am missing. We are using an Nginx Proxy, pretty simple one
docker-compose.ymldefault.conf@D3strukt0r commented on GitHub (Apr 19, 2023):
@axllent
ok so switched to your own ssl config and works with that. why is that though?
@axllent commented on GitHub (Apr 19, 2023):
I suspect your proxy does not handle websockets properly, though I can't say right now what you need to change as I have a really custom setup that is of no use to you. You probably need to add some section above your
location /specifically for the/api/eventspath:I think you'll find your answer on Google as it is a common issue with proxies.
@axllent commented on GitHub (Apr 20, 2023):
The answer to your problem can be found on: https://www.nginx.com/blog/websocket-nginx/
It has to do with the lack of the
Upgradeheaders in your Nginx configuration.@D3strukt0r commented on GitHub (Apr 20, 2023):
Oooh, thanks for sending the article :)
@ryssbowh commented on GitHub (Apr 22, 2023):
I'm also struggling setting that up for an Apache server, spent hours trying various vhost config but can't get it to work.
By any chance, do you see anything fundamentally wrong with the following : ?
@axllent commented on GitHub (Apr 22, 2023):
In one working apache example where I proxy a
/mail/path to Mailpit, I have this (but I'm sure you can adjust accordingly):@ryssbowh commented on GitHub (Apr 23, 2023):
Thanks, that confirms the issue comes from my server somehow, I keep getting a 400.
@axllent commented on GitHub (Apr 24, 2023):
If you "inspect" the page check check your browser requests, the response text of those requests will likely tell you the cause of the error.