Multiple emails about expired membership

Some of my members have been receiving emails to renew their membership but they’re receiving 3, 4 or 5 emails that say the same thing. Is there a reason why they’re getting duplicates of the same email?

  • Jude
    • DEV MAN

    Hey there @Tom Powell

    Hope you are well !!

    Does this happen only with the “Subscription – Before expires” mail ? No other emails being sent multiple times like this?

    Can you try this ? We can cut down on the amount of duplicate emails being sent by inserting this into the wp-config.php:

    define( "MS_DUPLICATE_EMAIL_HOURS", 24 );

    That’ll limit duplicate emails to being sent once every 24 hours.

    Finally can you move your emails to an SMTP setup using one of the plugins below

    https://wordpress.org/plugins/wp-smtp/

    https://wordpress.org/plugins/wp-mail-smtp/

    This significantly improves email on WP sites.

    Cheers

    Jude

  • Kasia Swiderska
    • Support nomad

    Hello Tom,

    This is strange – we had reports about this particular issue, but according to changelog of plugin it was fixed in 1.0.2.4 version. Did this started to happening after the last update?

    Can you please add this line to your wp-config.php file

    define( “MS_DUPLICATE_EMAIL_HOURS”, 24 );

    this is only temporary solution, but our developer will investigate this issue.

    kind regards,

    Kasia

  • Tom Powell
    • The Incredible Code Injector

    Hi Kasia/Jude,

    Thanks for the quick reply. I was just informed that one of the members has received 14 of the duplicate emails already and he said he’s still getting them. (It’s the emails that say ‘Hi _____, Your Membership at _______ has ended on 2015-12-31. You can renew your membership here: account page’:wink:

    I JUST updated the plugin this morning to 1.0.2.6 version so does that mean its fixed in this update? Or are the developers still looking into this? I’ve also added the code you suggested to my wp.config.php file. Should I still download one of the SMTP plugins for emails?

  • Jude
    • DEV MAN

    Hi again Tom

    If another member gets this issue with multiple emails then it best if you switch to using SMTP when handling outgoing emails with the site. The new release does have a fix pertaining to the automated emails module so hopefully it should not happen in future

    Cheers

    Jude