title: Issue Sending Mail through GMail SMTP Using PEAR
body: <p>For the past day or two, I have been receiving this error:</p>
  
  <p><code>Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (code: -1, response: )]</code></p>
  
  <p>We just set up a new linux server (running CentOS), and I have all the necessary packages installed, PEAR, SMTP, etc.  This is a known working script, and I have never had any issues in the past sending through Gmail.  Now to me it seems to be a DNS issue, because I am able to substitute in the IP address, and it will work - intermittently - meaning some of the mail goes through sometimes.  I've disabled SELinux, and even ran it with our firewall off, so I'm kind of at an impasse.  Any suggestions as to what this may be, or what I might be able to do to resolve the issue?</p>
  
  <p>Edit: Rebooted the server and router, and it seems to be going through correctly.  Although this is good in the short term, it still has me nervous.  Has anyone experienced this issue before?</p>