{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/play-mailer/issues/47","labels_url":"https://api.github.com/repos/playframework/play-mailer/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/playframework/play-mailer/issues/47/comments","events_url":"https://api.github.com/repos/playframework/play-mailer/issues/47/events","html_url":"https://github.com/playframework/play-mailer/issues/47","id":83585791,"number":47,"title":"play.mailer configuration does not work","user":{"login":"scesbron","id":386514,"avatar_url":"https://avatars.githubusercontent.com/u/386514?v=3","gravatar_id":"","url":"https://api.github.com/users/scesbron","html_url":"https://github.com/scesbron","followers_url":"https://api.github.com/users/scesbron/followers","following_url":"https://api.github.com/users/scesbron/following{/other_user}","gists_url":"https://api.github.com/users/scesbron/gists{/gist_id}","starred_url":"https://api.github.com/users/scesbron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scesbron/subscriptions","organizations_url":"https://api.github.com/users/scesbron/orgs","repos_url":"https://api.github.com/users/scesbron/repos","events_url":"https://api.github.com/users/scesbron/events{/privacy}","received_events_url":"https://api.github.com/users/scesbron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-01T16:19:36Z","updated_at":"2015-06-03T06:45:07Z","closed_at":"2015-06-01T17:16:20Z","body":"I am using play-mailer 3.0.0-RC1 with play 2.4.0 java.\r\n\r\nWhen I start my app I have a warning that tolds me to use the new syntax for configuration\r\n\r\nBut with this new syntax I have an exception `java.lang.RuntimeException: play.mailer.host needs to be set in application.conf in order to use this plugin (or set play.mailer.mock to true)`\r\n\r\nConfiguration that works\r\n\r\n    smtp {\r\n      host = \"mailtrap.io\"\r\n      port = 2525\r\n      tls = true\r\n      user = \"xxx\"\r\n      password = \"xxx\"\r\n    }\r\n\r\n\r\nConfiguration that does not work\r\n\r\n    play {\r\n      mailer {\r\n        host = \"mailtrap.io\"\r\n        port = 2525\r\n        tls = true\r\n        user = \"xxx\"\r\n        password = \"xxx\"\r\n      }\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/playframework/play-mailer/issues/comments/108212642","html_url":"https://github.com/playframework/play-mailer/issues/47#issuecomment-108212642","issue_url":"https://api.github.com/repos/playframework/play-mailer/issues/47","id":108212642,"user":{"login":"scesbron","id":386514,"avatar_url":"https://avatars.githubusercontent.com/u/386514?v=3","gravatar_id":"","url":"https://api.github.com/users/scesbron","html_url":"https://github.com/scesbron","followers_url":"https://api.github.com/users/scesbron/followers","following_url":"https://api.github.com/users/scesbron/following{/other_user}","gists_url":"https://api.github.com/users/scesbron/gists{/gist_id}","starred_url":"https://api.github.com/users/scesbron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scesbron/subscriptions","organizations_url":"https://api.github.com/users/scesbron/orgs","repos_url":"https://api.github.com/users/scesbron/repos","events_url":"https://api.github.com/users/scesbron/events{/privacy}","received_events_url":"https://api.github.com/users/scesbron/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T06:45:07Z","updated_at":"2015-06-03T06:45:07Z","body":"Hi\r\n\r\nIt is ok with master\r\n\r\nThx"}}