{"action":"opened","issue":{"url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/595","labels_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/595/comments","events_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/595/events","html_url":"https://github.com/PHPMailer/PHPMailer/issues/595","id":123893451,"number":595,"title":"PHP Mailer Not Working >PHP 5.5","user":{"login":"abc02101986","id":6190124,"avatar_url":"https://avatars.githubusercontent.com/u/6190124?v=3","gravatar_id":"","url":"https://api.github.com/users/abc02101986","html_url":"https://github.com/abc02101986","followers_url":"https://api.github.com/users/abc02101986/followers","following_url":"https://api.github.com/users/abc02101986/following{/other_user}","gists_url":"https://api.github.com/users/abc02101986/gists{/gist_id}","starred_url":"https://api.github.com/users/abc02101986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abc02101986/subscriptions","organizations_url":"https://api.github.com/users/abc02101986/orgs","repos_url":"https://api.github.com/users/abc02101986/repos","events_url":"https://api.github.com/users/abc02101986/events{/privacy}","received_events_url":"https://api.github.com/users/abc02101986/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-25T18:16:58Z","updated_at":"2015-12-25T18:16:58Z","closed_at":null,"body":"I get an error when using identical code from the latest version of phpMailer when using php 5.6 or greater. It works with  5.5  and less. \r\n\r\nBelow is are the lines where the error is occurring\r\n\r\n        if (!$this->smtpConnect($this->SMTPOptions)) {\r\n            throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL);\r\n        }\r\n\r\nit is about lines 1460 on class.phpmailer.php"}}