{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/5988","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/5988/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/5988/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/5988/events","html_url":"https://github.com/magento/magento2/issues/5988","id":169356341,"number":5988,"title":"Disable email communication set to yes: email did get sent. ","user":{"login":"Tristan-N","id":19165453,"avatar_url":"https://avatars.githubusercontent.com/u/19165453?v=3","gravatar_id":"","url":"https://api.github.com/users/Tristan-N","html_url":"https://github.com/Tristan-N","followers_url":"https://api.github.com/users/Tristan-N/followers","following_url":"https://api.github.com/users/Tristan-N/following{/other_user}","gists_url":"https://api.github.com/users/Tristan-N/gists{/gist_id}","starred_url":"https://api.github.com/users/Tristan-N/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tristan-N/subscriptions","organizations_url":"https://api.github.com/users/Tristan-N/orgs","repos_url":"https://api.github.com/users/Tristan-N/repos","events_url":"https://api.github.com/users/Tristan-N/events{/privacy}","received_events_url":"https://api.github.com/users/Tristan-N/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b"},{"url":"https://api.github.com/repos/magento/magento2/labels/Customer","name":"Customer","color":"1d76db"},{"url":"https://api.github.com/repos/magento/magento2/labels/Migration%20Tools","name":"Migration Tools","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-04T11:52:34Z","updated_at":"2016-09-23T14:57:36Z","closed_at":null,"body":"After installing a data migration tool I disabled all Email communication for all store-views. However, people who are subscribed to the newsletter received a confirmation e-mail with the basic Luma template without any data (see screenshot). Sender of email turned out to be owner@example.com. \r\n\r\n### Preconditions\r\n1.  Magento CE 2.1.0\r\n2. PHP 7.0.9\r\n\r\n### Steps to reproduce\r\n\r\n1. Installed module for data migration. \r\n2. Went to Store -> Configuration -> Advanced -> System -> Email Sending Settings\r\n3. Set Disable Email Communications to Yes. \r\n4. Checked on all store views if setting was disabled. \r\n5. Migrated Customers from Magento 1.9.2.4 to Magento 2.1.0.\r\n6. Received confirmation e-mail for subscription to a newsletter. Mails were sent to subscribers of 1 particular store view. \r\n7. Search for loggs or mailhistory to see what happend. There are no logs anywhere that tells me any email were sent.\r\n\r\n### Expected result\r\n1. After migration no persons should receive any email when the option Disable Email Communication is set to Yes. Email wasn't even configured yet. \r\n\r\n### Actual result\r\n1. Owner@example.com sent an email to all customers subscribed to the newsletter of the Magento 1 store, only showing (in Dutch) \"You successfully subscribed to our newsletter.\" \r\nSee screenshot (red marks are because of the store data there). \r\n![newsletter_confirmation_jpg](https://cloud.githubusercontent.com/assets/19165453/17400871/ada58a54-5a4a-11e6-90ed-5a312464cc09.jpg)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/249215428","html_url":"https://github.com/magento/magento2/issues/5988#issuecomment-249215428","issue_url":"https://api.github.com/repos/magento/magento2/issues/5988","id":249215428,"user":{"login":"dheesbeen","id":3245096,"avatar_url":"https://avatars.githubusercontent.com/u/3245096?v=3","gravatar_id":"","url":"https://api.github.com/users/dheesbeen","html_url":"https://github.com/dheesbeen","followers_url":"https://api.github.com/users/dheesbeen/followers","following_url":"https://api.github.com/users/dheesbeen/following{/other_user}","gists_url":"https://api.github.com/users/dheesbeen/gists{/gist_id}","starred_url":"https://api.github.com/users/dheesbeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dheesbeen/subscriptions","organizations_url":"https://api.github.com/users/dheesbeen/orgs","repos_url":"https://api.github.com/users/dheesbeen/repos","events_url":"https://api.github.com/users/dheesbeen/events{/privacy}","received_events_url":"https://api.github.com/users/dheesbeen/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T14:57:35Z","updated_at":"2016-09-23T14:57:35Z","body":"@Tristan-N I've created a email catcher. Wich also makes it possible to disable all email communication https://github.com/experius/Magento-2-Email-Catcher-Module\r\n"}}
{"actor":{"display_login":"dheesbeen"}}