Skip to content

Emailer App

Brandon Vergara edited this page Aug 10, 2017 · 7 revisions

Configuration for the app

Should be exist a file named conf.json, and should be ignored.

{
  "mail" : {
    "hostname" : "smtp.gmail.com",
    "port" : 587,
    "starttls" : "REQUIRED",
    "username" : "[email protected]",
    "password" : "password"
  },
  "mongo" : {
    "connection_string" : "mongodb://localhost:27017",
    "db_name" : "emailerDevelop"
  },
  "server": {
    "baseUrl" : "http://localhost:8000",
    "fromEmail" : "[email protected]"
  }
}

Run with: vertx run webserver.groovy -conf conf.json

Clone this wiki locally