Skip to content
Jose Morales edited this page Apr 8, 2025 · 30 revisions

In order to run the application you need to create an YAML file called application-development.yml in $HOME/.jmailer with the following structure:

email:
  username: email
  password: password
  vetlogUsername: vetlogEmail
  vetlogPassword: vetlogPassword
  contact: joseluis.delacruz@gmail.com
  redirect: https://jmailer.josdem.io/flyer
  homeRequestURL: http://localhost:8080/
  factor: 0.5
  spamTokens:
    - one
  spamNames:
    - one
spring:
  messages:
    basename: i18n/messages
  logging:
    file: jmailer.log
  mvc:
    pathmatch:
      matching-strategy: ANT_PATH_MATCHER
management:
    endpoints:
        web:
            exposure:
                include: "health,info"
api:
  version: 1.0.0
  title: Spring Boot Swagger
  basePackage: com.josdem.jmailer
  description: Automated JSON API documentation for API's built with Spring
  terms: https://josdem.io/
swagger:
  server: "http://localhost:8080"

Where:

  • spamTokens is a token list to filter unwanted spam on the email's body
  • spamNames is a token list to filter unwanted spam sender's name
Clone this wiki locally