We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36549
    • 572 Posts
    Hi,

    I have installed Bobray's Notify extra so i can send an email to users in a specific user group.
    I thought i'd got my head around it and successfully sent a few test emails to a test user group. However when i sent to my specific user group it appears that users received 6 emails over a period of 18 minutes. All emails were the same except that only the first 2 contained the username with the other 4 displaying the placeholder {{+username}}
    I can't find a record of the sent email recipients, only the actual 5 (default amount) emails in the logs (core/components/notify/notify-logs) as pointed out on Bobray's website.

    a) Does anyone know if there is a log of recipients anywhere?
    b) Anyone know why 6 emails might have been sent?

    Thanks for any help

    Using Notify 1.4.1
    Modx 2.5.2


    J

      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 3749
      • 24,544 Posts
      I've never seen that, though I'm using Mailgun to send the emails. It could be a bug introduced by the mods to add Mailgun capability.

      Did you send to a single User Group?

      Does the "Send Test Email" option send a single message?
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 36549
        • 572 Posts
        Hi BobRay, thanks for getting back to me.
        I have just tested a single email and it sends 2. Any idea why that might be happening?
        I get the success message OK:
        "Email to Subscribers sent successfully to 1 recipients using modMailX"
          www.9thwave.co.uk
             WEB | DESIGN | PRINT
          • 3749
          • 24,544 Posts
          It could be an issue with your host. No one else has mentioned this. I'll check the code, though, when I get a chance.

          Could you please try installing QuickEmail, and see how many messages it sends?
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 36549
            • 572 Posts
            thanks BobRay.
            QuickEmail just sends the one email.
            So possibly a question for the hosts then?
            Is there a log of recipients anywhere?
              www.9thwave.co.uk
                 WEB | DESIGN | PRINT
              • 3749
              • 24,544 Posts
              If QuickEmail just sends one, it's most likely a bug in Notify.

              I'll try to find time to check it out.

              In the meantime, I highly recommend Mailgun. It's free for up to 10,000 emails per month. It's not that difficult to set up, and you'll get much better deliverability (fewer messages ending up in the spam folder or rejected). You also get quite a nice log at Mailgun that can show received messages, opens, and clicks as well as hard and soft bounces.

                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 3749
                • 24,544 Posts
                Could you add this to the Notify snippet tag and post the results you find in the MODX error log (if any)?

                &debug=`1`
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 36549
                  • 572 Posts
                  Sorry for my ignorance but where do i add that?
                  I have a parent container Notify with [[!Notify@NotifyProperties]] in the content field and that doc is connected to the NotifyTemplate.
                  There are two child docs NotifyPreview and NotifyStatus also connected to the NotifyTemplate.

                  BTW...I have now set up MailGun so will try testing with that later on.

                  Thank you for your help with this.
                    www.9thwave.co.uk
                       WEB | DESIGN | PRINT
                    • 3749
                    • 24,544 Posts
                    Try this:

                    [[!Notify@NotifyProperties? &debug=`1`]]
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 36549
                      • 572 Posts
                      OK, I get the followng:
                      $_POST pageId is empty
                        www.9thwave.co.uk
                           WEB | DESIGN | PRINT