{"action":"created","issue":{"url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18","repository_url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin","labels_url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18/comments","events_url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18/events","html_url":"https://github.com/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18","id":126415999,"number":18,"title":"On each Submit, the email is sent twice.","user":{"login":"WebShapedBiz","id":6765137,"avatar_url":"https://avatars.githubusercontent.com/u/6765137?v=3","gravatar_id":"","url":"https://api.github.com/users/WebShapedBiz","html_url":"https://github.com/WebShapedBiz","followers_url":"https://api.github.com/users/WebShapedBiz/followers","following_url":"https://api.github.com/users/WebShapedBiz/following{/other_user}","gists_url":"https://api.github.com/users/WebShapedBiz/gists{/gist_id}","starred_url":"https://api.github.com/users/WebShapedBiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebShapedBiz/subscriptions","organizations_url":"https://api.github.com/users/WebShapedBiz/orgs","repos_url":"https://api.github.com/users/WebShapedBiz/repos","events_url":"https://api.github.com/users/WebShapedBiz/events{/privacy}","received_events_url":"https://api.github.com/users/WebShapedBiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-13T13:17:03Z","updated_at":"2016-03-16T20:07:07Z","closed_at":null,"body":"I don't get this, I always end up with two emails, about one second apart and coming from the same source, according to Network tab in Chrome DevTools.\r\n\r\nCheers.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/comments/197523838","html_url":"https://github.com/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18#issuecomment-197523838","issue_url":"https://api.github.com/repos/LaminSanneh/Octobercms-Flexi-Contact-Plugin/issues/18","id":197523838,"user":{"login":"kdon80","id":8907709,"avatar_url":"https://avatars.githubusercontent.com/u/8907709?v=3","gravatar_id":"","url":"https://api.github.com/users/kdon80","html_url":"https://github.com/kdon80","followers_url":"https://api.github.com/users/kdon80/followers","following_url":"https://api.github.com/users/kdon80/following{/other_user}","gists_url":"https://api.github.com/users/kdon80/gists{/gist_id}","starred_url":"https://api.github.com/users/kdon80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdon80/subscriptions","organizations_url":"https://api.github.com/users/kdon80/orgs","repos_url":"https://api.github.com/users/kdon80/repos","events_url":"https://api.github.com/users/kdon80/events{/privacy}","received_events_url":"https://api.github.com/users/kdon80/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T20:07:07Z","updated_at":"2016-03-16T20:07:07Z","body":"The plugin sends two emails, one to the website owner, and the other one to the form submitter, correct? I think those guys are testing the form by providing their own email, so they receive two emails!\r\n\r\nbtw,** there should be an option to disable sending to the email to the submitter as well.**\r\n    \r\nThis is from the code, sending one to post's email and another to the email provided in the settings:\r\n\r\n            $message->replyTo(post('email'), post('name'))\r\n                ->to(Settings::get('recipient_email'), Settings::get('recipient_name'))\r\n                ->subject(Settings::get('subject'));"}}