title: OpenCart emails not sending
body: <p>My OpenCart website uses SendGrid as its email sending system. This all worked correctly up until recently. When using functions which require sending an email to the admin (eg. new order alert emails, creating a new account), I've been getting this error:</p>
  
  <pre><code> Notice: Error: Password not accepted from server! in .../system/library/mail.php on line 251
  </code></pre>
  
  <p>In <code>OpenCart Settings &gt; Mail</code>, my settings are as follows:</p>
  
  <pre><code>Mail Protocol: SMTP
  SMTP Host: smtp.sendgrid.net
  SMTP Username: &lt;username&gt;
  SMTP Password: &lt;pass&gt;
  SMTP Port: 25
  SMTP Timeout: 5
  </code></pre>
  
  <p>This is according to SendGrid's documentation: <a href="https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/smtp_ports.html" rel="nofollow noreferrer">https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/smtp_ports.html</a></p>
  
  <p>Can anyone advise? These settings work on my localhost. I contacted the host to see if they blocked the SMTP port, but they replied that they don't have the ability to block the port since the SMTP host is not their website, but instead SendGrid.</p>