Copied to clipboard

Flag this post as spam?

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


  • marina.b 13 posts 103 karma points
    Jan 29, 2021 @ 18:32
    marina.b
    0

    SMTP Error when inviting a User

    Hi I have two sites running on Umbraco and a problem inviting Users (sending email).

    One site runs on version 8.9.1 and sends email correctly, the other one runs on 8.10.0 they are both hosted on Azure and use the same smtp and credentials.

    The error (version 8.10.0) in log is: Unhandled controller exception occurred for request '"https://XXXXX.azurewebsites.net/umbraco/backoffice/UmbracoApi/Users/PostInviteUser"'

    System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond .

    Any suggestion?

  • Yakov Lebski 591 posts 2346 karma points
    Jan 29, 2021 @ 19:23
    Yakov Lebski
    0

    looks like you smtp doens't respond, you should check SMTP settings in you web.config

    <system.net>
        <mailSettings>
          <!--
                    If you need Umbraco to send out system mails (like reset password and invite user),
                    you must configure your SMTP settings here - for example:
                -->
          <!--
                <smtp from="[email protected]" deliveryMethod="Network">
                    <network host="localhost" port="25" enableSsl="false" userName="" password="" />
                </smtp>
                -->
        </mailSettings>
      </system.net>
    
Please Sign in or register to post replies

Write your reply to:

Draft