Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Newbraco 41 posts 164 karma points
    Mar 20, 2018 @ 13:31
    Newbraco
    0

    Cant send (forgot password-) email from Azure.

    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

    "Request password reset failed for email forgetfulbackoffice[email protected]"

    this is from my web.config and umbracoSettings.config.

    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.

    [mailSettings]
      [smtp deliveryMethod="Network" from="[email protected]"]
        [network defaultCredentials="false" host="smtp.gmail.com" userName="[email protected]" password="yyyyyyyyy" port="587" enableSsl="true" /]
      [/smtp]
    [/mailSettings]
    
    
     [notifications]
      [!-- the email that should be used as from mail when umbraco sends a notification --]
      [email][email protected][/email]
    [/notifications]
    

    EDIT: Ive got it to work with an office365-account instead of gmail. Still curious why it doesnt work and how to diagnose the problem.

Please Sign in or register to post replies

Write your reply to:

Draft