title: PHP Mailer on hosted site
body: <p>Hosted website, trying to setup a mailer for the contact form but the page returns errors, Had a look in the log and found this:</p>
  
  <p>PHP Warning:  stream_socket_enable_crypto(): Peer certificate CN=<code>host5.xyz' did not match expected CN=</code>localhost' in /home/user/public_html/php/php-mailer/class.smtp.php on line 368</p>
  
  <p>PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/user/public_html/php/php-mailer/PHPMailerAutoload.php on line 45</p>
  
  <p>Would appreciate if anyone can nudge me into the right direction, Thanks</p>