Copied to clipboard

Flag this post as spam?

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


  • Eduardo Sobrinho 18 posts 38 karma points
    Sep 02, 2016 @ 18:53
    Eduardo Sobrinho
    0

    Umbraco 7.5..2 Password recovery error

    I created a new project in Visual Studio 2015 and installed the 7.5.2 version via nuget to see the news. When testing the new feature for password recovery is occurring a failure. If inform an e-mail that does not exist, no error occurs enter image description here But if i type a correct email, an error occurs.

    enter image description here

    I changed the web.config settings as below:

      <mailSettings>
          <smtp from="noreply@mydomain.com">
            <network host="mail.mydomain.com" userName="web@mydomain.com" password="secure-password" />
          </smtp>
        </mailSettings>
    

    I receivede this message: INNER EXCEPTION

    System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not answer   properly after a period of time, or established connection failed   because connected host has not responded MY SERVER IP:25

    Did I do something wrong?

  • Eduardo Sobrinho 18 posts 38 karma points
    Sep 02, 2016 @ 19:06
    Eduardo Sobrinho
    0

    Hi again! I fixed the problem! Here in Brazil many servers reject access via port 25. I just changed the port to 587 and worked.

      <MailSettings>
           <Smtp from = "noreply@mydomain.com">
             <Network host = "mail.mydomain.com" userName = "web@mydomain.com" password = "password-secure" port = "587" />
           </ Smtp>
    </ MailSettings>
    

    Tank you.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies