{"action":"created","issue":{"url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/755","repository_url":"https://api.github.com/repos/swiftmailer/swiftmailer","labels_url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/755/comments","events_url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/755/events","html_url":"https://github.com/swiftmailer/swiftmailer/pull/755","id":153601264,"number":755,"title":"Add Swift_Transport::ping()","user":{"login":"c960657","id":111346,"avatar_url":"https://avatars.githubusercontent.com/u/111346?v=3","gravatar_id":"","url":"https://api.github.com/users/c960657","html_url":"https://github.com/c960657","followers_url":"https://api.github.com/users/c960657/followers","following_url":"https://api.github.com/users/c960657/following{/other_user}","gists_url":"https://api.github.com/users/c960657/gists{/gist_id}","starred_url":"https://api.github.com/users/c960657/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c960657/subscriptions","organizations_url":"https://api.github.com/users/c960657/orgs","repos_url":"https://api.github.com/users/c960657/repos","events_url":"https://api.github.com/users/c960657/events{/privacy}","received_events_url":"https://api.github.com/users/c960657/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-07T15:47:11Z","updated_at":"2016-05-07T22:27:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swiftmailer/swiftmailer/pulls/755","html_url":"https://github.com/swiftmailer/swiftmailer/pull/755","diff_url":"https://github.com/swiftmailer/swiftmailer/pull/755.diff","patch_url":"https://github.com/swiftmailer/swiftmailer/pull/755.patch"},"body":"I have a long-running PHP job that occasionally sends email.\r\n\r\nUnless I explicitly stop the SMTP connection after each use, the SMTP server may eventually close the connection if it has not been used for an extended period. This will make the next send() operation throw an exception.\r\n\r\nThis patch adds a ping() method similar to that in [Doctrine\\DBAL\\Connection::ping()](https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Connection.php#L1560).\r\n\r\nApart from the addition of ping() to the Swift_Transport interface, this change is backwards compatible and can be merged into the current release branch."},"comment":{"url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/comments/217672698","html_url":"https://github.com/swiftmailer/swiftmailer/pull/755#issuecomment-217672698","issue_url":"https://api.github.com/repos/swiftmailer/swiftmailer/issues/755","id":217672698,"user":{"login":"c960657","id":111346,"avatar_url":"https://avatars.githubusercontent.com/u/111346?v=3","gravatar_id":"","url":"https://api.github.com/users/c960657","html_url":"https://github.com/c960657","followers_url":"https://api.github.com/users/c960657/followers","following_url":"https://api.github.com/users/c960657/following{/other_user}","gists_url":"https://api.github.com/users/c960657/gists{/gist_id}","starred_url":"https://api.github.com/users/c960657/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c960657/subscriptions","organizations_url":"https://api.github.com/users/c960657/orgs","repos_url":"https://api.github.com/users/c960657/repos","events_url":"https://api.github.com/users/c960657/events{/privacy}","received_events_url":"https://api.github.com/users/c960657/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T22:27:33Z","updated_at":"2016-05-07T22:27:33Z","body":"What is the procedure for getting this feature (modulo the interface change) into 5.x? A separate PR after this one has been merged?"}}