title: OpenCart - not sending emails (notifications or contact page)
body: <p>As far as I can tell, my mail settings are configured correctly but I'm not receiving any emails, not through the contact form, nor for new customers or any orders that are placed.</p>
  
  <p>Here are my current settings:</p>
  
  <p><img src="https://i.stack.imgur.com/G1iAI.png" alt="enter image description here"></p>
  
  <p>I've tried:</p>
  
  <ol>
  <li><p>Changing to SMTP, I get an error and my host (IXWebHosting) says I
  need to disable Authorization within the application, and I cannot
  see an option to this</p></li>
  <li><p>Adding -f and -F before the email as <a href="http://forum.opencart.com/viewtopic.php?f=20&amp;t=21251&amp;p=257231" rel="nofollow noreferrer">suggested here</a></p></li>
  <li><p>Adding different emails to the 'also send to' box at the bottom of
  the Mail page</p></li>
  <li><p>Manually defining the 'From' header in the code as <a href="http://forum.opencart.com/viewtopic.php?f=20&amp;t=59560&amp;p=281016" rel="nofollow noreferrer">suggested here</a></p></li>
  <li><p>Tried @gmail.com, @googlemail.com and @arabel.co.uk</p></li>
  </ol>
  
  <p>And unfortunately I still don't receive any email from OpenCart. I've contacted my host and run test scripts - there isn't a problem with the mail function or setup on the server, and I've just downloaded the latest version of mail.php from OpenCart (although this is six months old and the one I was using anyway)</p>
  
  <p>Thanks</p>
  
  <p><strong><em>UPDATE:</em></strong></p>
  
  <p>It looks like base64_encode isn't working, because this code:</p>
  
  <pre><code>echo $header = 'From: ' . '=?UTF-8?B?' . base64_encode($this-&gt;sender) . '?=' . '&lt;' . $this-&gt;from . '&gt;' . $this-&gt;newline;
  die();
  </code></pre>
  
  <p>Outputs this:</p>
  
  <blockquote>
    <p>From: =?UTF-8?B?Tmljaw==?=</p>
  </blockquote>