• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Private registration and notify email

You are not authorized to post a reply.
Sort:


New Member


Posts:17
New Member

    Hi, I need to understand how work private registration and notify at admin (DNN 9.9.1)

    In Settings > Security > Account Members > Registration setting I define Private registration and flag on Receive New User Registration Notification

    In Settings > Security > Login Settings > Base login settings I define my Super User account like principal admin

    However, I've got other two admin user (role: Administrator) because I would notify them when a new user registry to site. Every admin users have got a personal email associated

    Now there is SMTP config

    I've tried both CoreMailProvider and MailKitMailProvider

    In Settings > Servers > Server settings > Server SMPT I've got this settings

    • Server SMTP mode: global
    • Server SMPT and port: smtp.office365.com:587
    • Connection limit: (default value)
    • Max idle time: 0 (default value)
    • Max number batch message: 50 (default value)
    • SMTP user: [email protected] (this is the same email linked to Super User account)
    • SMPT password: mypassword
    • Enable SSL SMTP: true
    • Host email: [email protected]

    Test settings SMTP mail sends good!

    Now there is the problem!

    Notify admin emails arrive with a lot of delay (from 1 hour to 12 hours): why? How can I debug this behavior?

    I try to change Super User email but I receive this error "System.Net.Mail.SmtpException: Transaction failed. The server response was: 5.2.252 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message"

     

    Thanks for the help,

    progmr



    Veteran Member


    Posts:412
    Veteran Member

      Delay might be caused by Office365 SMTP server - DNN submits the message to the server immediately.
      DNN SMTP account needs to match an existing account on the O365 mail server - and that one must be able to send as specified FROM user. If you want to send to multiple admins, I suggest using email address of a shared mailbox group.


      New Member


      Posts:17
      New Member

        Hi Sebastian, thankyou for your response.

        Is there a way to debug the send action of DNN? My DNN host tell me that there isn't retard on Office 365...

        Best regards,

        progmr



        Veteran Member


        Posts:412
        Veteran Member

          you could install papercut (https://www.papercut-smtp.com/) and temporarily redirect your mails to this virtual SMTP server, to check the messages being sent.


          New Member


          Posts:17
          New Member

            Ok, thanks: this service show me there isn't retard during notify Super User. But there is retard during notify other admins

            Hypothesis: I would implement your hint "I suggest using email address of a shared mailbox group". Where I need to specify this new email in DNN?

            Another question: how to identify the sender of the email notify new registration to the admin: is it the email associated to the Super User account?

            Thanks for your patience,

            progmr



            Veteran Member


            Posts:597
            Veteran Member

              The sender address is the address of the "Primary Administrator", defined in Settings >> Security >> Login Settings >> Basic Login Settings.

              Happy DNNing!
              Michael

              Michael Tobisch
              DNN★MVP

              dnnWerk Austria
              DNN Connect


              Veteran Member


              Posts:412
              Veteran Member

                you'd admin group specify group (as recipient and sender) at the same settings Micheal mentioned above.


                New Member


                Posts:17
                New Member

                  Ok, thanks Sebastian and Michael

                  Is there some scheduled task that send notification email, like this? See this link



                  Veteran Member


                  Posts:412
                  Veteran Member

                    AFAIR, registration notifications are always sent immediately, as there shouldn't be a larger number and those notifications should not be delayed.


                    New Member


                    Posts:17
                    New Member

                      I think I found the solution: I change a Super User setting

                      • User menù and find your Super User (in my case, it is host)
                      • Show profile
                      • Edit profile > Communication tab
                      • Schedulation send email and change Notification Frequency Digest (from 1h to immediatly)

                      I do this for every user with Admin role

                      Thanks all for your support

                      You are not authorized to post a reply.

                      These Forums are dedicated to discussion of DNN Platform.

                      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                      1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                      3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      4. No Flaming or Trolling.
                      5. No Profanity, Racism, or Prejudice.
                      6. Site Moderators have the final word on approving / removing a thread or post or comment.
                      7. English language posting only, please.

                      Would you like to help us?

                      Awesome! Simply post in the forums using the link below and we'll get you started.

                      Get Involved