{"action":"closed","issue":{"url":"https://api.github.com/repos/trk/WireMailPHPMailer/issues/4","repository_url":"https://api.github.com/repos/trk/WireMailPHPMailer","labels_url":"https://api.github.com/repos/trk/WireMailPHPMailer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/trk/WireMailPHPMailer/issues/4/comments","events_url":"https://api.github.com/repos/trk/WireMailPHPMailer/issues/4/events","html_url":"https://github.com/trk/WireMailPHPMailer/issues/4","id":490751321,"node_id":"MDU6SXNzdWU0OTA3NTEzMjE=","number":4,"title":"___send() method missing return value","user":{"login":"ryancramerdesign","id":328272,"node_id":"MDQ6VXNlcjMyODI3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/328272?v=4","gravatar_id":"","url":"https://api.github.com/users/ryancramerdesign","html_url":"https://github.com/ryancramerdesign","followers_url":"https://api.github.com/users/ryancramerdesign/followers","following_url":"https://api.github.com/users/ryancramerdesign/following{/other_user}","gists_url":"https://api.github.com/users/ryancramerdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancramerdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancramerdesign/subscriptions","organizations_url":"https://api.github.com/users/ryancramerdesign/orgs","repos_url":"https://api.github.com/users/ryancramerdesign/repos","events_url":"https://api.github.com/users/ryancramerdesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryancramerdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-08T12:57:51Z","updated_at":"2019-09-09T09:54:42Z","closed_at":"2019-09-09T09:54:42Z","author_association":"NONE","body":"Hi, the ___send() method in WireMailPHPMailer.module doesn't return any value, but it is supposed to return the quantity of messages sent. So anything that checks the return value from a send is reporting that the send failed. I think this could be fixed by changing the last line of code in the module from this:\r\n~~~~~\r\n$this->PHPMailer->send();\r\n~~~~~\r\nto this:\r\n~~~~~\r\nreturn $this->PHPMailer->send() ? 1 : 0;\r\n~~~~~\r\nThanks. "}}
{"actor":{"display_login":"trk"}}