title: Umbraco: Cant send (forgot password-) mail from Azure
body: <p>I have a very simple Umbraco site. I can send "forgot password"-email when running the site from localhost, but when I deploy it to my azure app service I get the error message</p>
  
  <p>"Request password reset failed for email forgetful_backoffice_user@gmail.com"</p>
  
  <p>this is from my web.config and umbracoSettings.config.</p>
  
  <p>Im also interested in how to diagnose this problem. I have looked in \app_data\logs, but I cant see any error message that is related to sending mail. In the Umbraco-db, the table UmbracoLog has merely 30 rows, non-related.</p>
  
  <pre><code>&lt;mailSettings&gt;
    &lt;smtp deliveryMethod="Network" from="xxxxxx@gmail.com"&gt;
      &lt;network defaultCredentials="false" host="smtp.gmail.com" userName="xxxxxx@gmail.com" password="yyyyyyyyy" port="587" enableSsl="true" /&gt;
    &lt;/smtp&gt;
  &lt;/mailSettings&gt;
  
  
   &lt;notifications&gt;
    &lt;!-- the email that should be used as from mail when umbraco sends a notification --&gt;
    &lt;email&gt;xxxxxx@gmail.com&lt;/email&gt;
  &lt;/notifications&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>: 
  I have activated "less secure apps" on my gmail account and also followed <a href="http://www.google.com/accounts/DisplayUnlockCaptcha" rel="nofollow noreferrer">this link</a> from my gmail account. No difference
  Umbraco health check says ok and that it has sent a mail to the email-address, but none was received. </p>
  
  <p><strong>EDIT2</strong>: 
  I got it working with an office365-account (instead of gmail). But Id still like to know why it doesnt work and how to diagnose similar problems </p>