title: Laravel - Sending Emails Through Exchange Server
body: <p>For my Laravel 5.1 app, I have an on-premise Exchange server and user account that I want to sent emails through. Below are the values in my .env file:</p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=[IP ADDRESS]
  MAIL_PORT=587
  MAIL_USERNAME=[USERNAME]
  MAIL_PASSWORD=[PASSWORD]
  MAIL_ENCRYPTION=null
  </code></pre>
  
  <p>I get an error when using <code>tls</code> as the encryption value and just for the sake of testing, I've been using <code>null</code> for now. But then I get the error of <code>Failed to authenticate on SMTP server with username "*******" using 1 possible authenticators</code></p>
  
  <p>I'm unsure of where I should start for troubleshooting. It seems that it's using NTLM Authentication for verifying the credentials. Should I check the Exchange server to see if it's set up for that? The credentials I used are correct. Or is there something wrong with my config?</p>
  
  <p>Thanks in advance.</p>