Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management API does not find any Mails #31

Closed
primus852 opened this issue Jul 15, 2020 · 3 comments
Closed

Management API does not find any Mails #31

primus852 opened this issue Jul 15, 2020 · 3 comments

Comments

@primus852
Copy link

primus852 commented Jul 15, 2020

When running the FakeSMTP, receiving mails via WebUI works like a charm. However, when I check http://localhost:5081 I only get this:

{
  "timestamp":"2020-07-15T13:06:25.760+0000",
  "status":404,
  "error":"Not Found",
  "message":"No message available",
  "path":"/"
}

Is there something I am missing or is there a bug?

@gessnerfl
Copy link
Owner

@primus852 port 8081 is the management port which is basically used for monitoring purposes and health checks. It does not provide any API for managing mails.
The management API is based on Spring Boot actuator. On the path /actuator you can get an overview of all available endpoints. More details about spring boot actuator can be found in the official Spring Boot Documentation: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready.

@smuda
Copy link
Contributor

smuda commented Sep 29, 2020

@primus852 Have a look at PR #32 where there is an API for retrieving emails.

@gessnerfl
Copy link
Owner

Closing the ticket after one month of activity. Rest controller is available on server port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants