{"action":"created","issue":{"url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/73","repository_url":"https://api.github.com/repos/mageplaza/magento-2-smtp","labels_url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/73/comments","events_url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/73/events","html_url":"https://github.com/mageplaza/magento-2-smtp/issues/73","id":319508439,"number":73,"title":"Little issue with Port 25 and No secure protocol.","user":{"login":"jordisalord","id":3285424,"avatar_url":"https://avatars3.githubusercontent.com/u/3285424?v=4","gravatar_id":"","url":"https://api.github.com/users/jordisalord","html_url":"https://github.com/jordisalord","followers_url":"https://api.github.com/users/jordisalord/followers","following_url":"https://api.github.com/users/jordisalord/following{/other_user}","gists_url":"https://api.github.com/users/jordisalord/gists{/gist_id}","starred_url":"https://api.github.com/users/jordisalord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordisalord/subscriptions","organizations_url":"https://api.github.com/users/jordisalord/orgs","repos_url":"https://api.github.com/users/jordisalord/repos","events_url":"https://api.github.com/users/jordisalord/events{/privacy}","received_events_url":"https://api.github.com/users/jordisalord/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-02T11:06:41Z","updated_at":"2018-05-11T02:35:42Z","closed_at":"2018-05-11T02:35:42Z","author_association":"NONE","body":"Hi there,\r\nFirst of all, thanks for that module.\r\nIt seems there's a little error when using port 25 and no security protocol.\r\n\r\nIt is at: /Mail/Rse/Mail.php, line 89.\r\n\r\nI changed the code to:\r\n```\r\n...\r\n            $this->_smtpOptions[$storeId] = [\r\n                'type' => 'smtp',\r\n                'host' => isset($configData['host']) ? $configData['host'] : '',\r\n                'port' => isset($configData['port']) ? $configData['port'] : '',\r\n                'auth' => isset($configData['authentication']) ? $configData['authentication'] : '',\r\n                'username' => isset($configData['username']) ? $configData['username'] : '',\r\n                'password' => isset($configData['password']) ? $this->encryptor->decrypt($configData['password']) : '',\r\n            ];\r\n\t    \r\n\t    if (isset($configData['protocol'])) {\r\n\t\t$this->_smtpOptions[$storeId]['ssl']=$configData['protocol'];\r\n\t    }\r\n...\r\n\r\n```\r\nBecause if 'ssl' parameter is empty it gives some Zend errors, like:\r\n`main.CRITICAL:  is unsupported SSL type`\r\n\r\nI wish i'm not wrong, it solved my problem.\r\n\r\nJordi"},"comment":{"url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/comments/388242155","html_url":"https://github.com/mageplaza/magento-2-smtp/issues/73#issuecomment-388242155","issue_url":"https://api.github.com/repos/mageplaza/magento-2-smtp/issues/73","id":388242155,"user":{"login":"gixid192","id":8438046,"avatar_url":"https://avatars2.githubusercontent.com/u/8438046?v=4","gravatar_id":"","url":"https://api.github.com/users/gixid192","html_url":"https://github.com/gixid192","followers_url":"https://api.github.com/users/gixid192/followers","following_url":"https://api.github.com/users/gixid192/following{/other_user}","gists_url":"https://api.github.com/users/gixid192/gists{/gist_id}","starred_url":"https://api.github.com/users/gixid192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gixid192/subscriptions","organizations_url":"https://api.github.com/users/gixid192/orgs","repos_url":"https://api.github.com/users/gixid192/repos","events_url":"https://api.github.com/users/gixid192/events{/privacy}","received_events_url":"https://api.github.com/users/gixid192/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T02:35:42Z","updated_at":"2018-05-11T02:35:42Z","author_association":"COLLABORATOR","body":"Close due to now response in 7 days."}}
{"actor":{"display_login":"gixid192"}}