title: OJS SMTPMailer: Could not authenticate, OJS 2.4.8.1 with AWS SES
body: <p>I'm using OJS 2.4.8.1, therefore, I want to use the <strong>AWS SES SMTP Service</strong>, so, I've configured the config file <em>config.inc.php</em> as follow:</p>
  
  <pre><code>; Use SMTP for sending mail instead of mail()
  smtp = On
  
  ; SMTP server settings
  smtp_server = email-smtp.us-east-1.amazonaws.com
  smtp_port = 587
  
  ; Force the default envelope sender (if present)
  ; force_default_envelope_sender = On
  
  ; Enable SMTP authentication
  ; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
  smtp_auth = PLAIN
  smtp_username = XXXXXXXXXX
  smtp_password = XXXXXXXXXX/XXXXXXXXX
  
  ; Allow envelope sender to be specified
  ; allow_envelope_sender = On
  </code></pre>
  
  <p>After sending a test I can view in <em>error_log</em> the following:</p>
  
  <pre><code>OJS SMTPMailer: Could not authenticate
  </code></pre>
  
  <p><strong>NOTES</strong>: the username and password are correct, I tried adding the params with/without quotes, I tried with 25, 465 or 587 ports and nothing works.</p>
  
  <p>Any help is well received.</p>