title: Unable to access outlook mail using R
body: <p>I am using mRPostman package to access the folders in outlook mail. It gives me the below error after creating the object <strong>con</strong>.</p>
  <blockquote>
  <p>Error in response_error_handling(e$message[1]) :
  Login denied: the server returned an authentication error.</p>
  </blockquote>
  <p>Code:</p>
  <pre><code>con &lt;- configure_imap(
    url=&quot;imaps://outlook.office365.com&quot;,
    username=&quot;meenu@abcindia.com&quot;,
    password=&quot;Password@098&quot;,
    verbose = TRUE,
    )
  
  </code></pre>
  <p>Tried the <code>password=rstudioapi::askForPassword()</code> option too but the same error persists.</p>