WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] subscribe2 generating duplicate e-mails (33 posts)

  1. Temlakos
    Member
    Posted 1 year ago #

    Subscribe2 often sends two (or more) e-mails to some of my subscribers. It's causing them to complain, causing some to unsubscribe, and recently caused my account host to threaten to shut me down for exceeding their hourly limit. I use WPMailQueue, with a tight throttle, but this duplication is still causing the system to break throttle.

    In fact, this has been going on for years. And it has to stop, or else I'll have to find another solution, or stop sending e-mails altogether.

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Posted 1 year ago #

    @Temlakos,

    The code is not written to send duplicates and it doesn't do this on my sites.

    Try setting the number of recipients per email to 1 in the Subscribe2 settings and check your subscribers database for duplicates and redundant emails.

  3. Temlakos
    Member
    Posted 1 year ago #

    If I set "number of recipients = 1", wouldn't that mean that only one notice would go out, no matter how many subscribers I had?

  4. mattyrob
    Member
    Posted 1 year ago #

    @Temlakos,

    No it wouldn't, it would mean a single email is sent to each single recipient rather than using the BCC email header. This looks a lot less like spam to email servers and send errors are less likely to result in duplication.

    Incidentally, email is designed in the internet standards to ensure delivery. That means a duplicate is more acceptable than a non-delivery.

  5. eArtboard
    Member
    Posted 1 year ago #

    I have the same problem. I have set the plugin to send a digest email once a day. Some days my subscribers receive one email and some days two email with same content.

    The number of recipients is set to 1.

    Thank you...

  6. mattyrob
    Member
    Posted 1 year ago #

    @eArtboard,

    Are you also using WordPress Mail Queue? And what version of WordPress are you using?

  7. eArtboard
    Member
    Posted 1 year ago #

    No am not using Mail Queue. WordPress 3.5.1 and Subscribe2 8.9.1

    Thank you for your quickly response

  8. mattyrob
    Member
    Posted 1 year ago #

    @eArtboard,

    The OP was using WordPress Mail Queue so this isn't an identical issue.

    Nonetheless, it would be worth looking that the message ID in the email headers for users getting duplicate emails. If the ID is the same then it's actually the same email delivered twice. Email systems are designed to ensure delivery over failure so twice is considered better then not at all.

    If the ID is different there is a possibility the subscriber is on your system twice or maybe a fringe glitch in the code, but this is not something I see on my sites to is must need a pretty unusual set of circumstances to happen.

  9. eArtboard
    Member
    Posted 1 year ago #

    The ID is different and the subscribers are only once in my system. The subscribers are registered users.

    I few days ago i switched from "For each post" setting to diggest emails (Once a day)...

    Any suggestions?

  10. mattyrob
    Member
    Posted 1 year ago #

    @eArtboard,

    Could be a fringe glitch in the code then but without being able to re-produce it's hard to say.

    You could try using a server cron event to trigger the WordPress scheduled tasks and see if that helps:
    http://www.satollo.net/how-to-make-the-wordpress-cron-work

  11. thefitrv
    Member
    Posted 1 year ago #

    I have the same problem as eArtBoard.
    Was there ever a definite solution?

    Two emails per subscriber (not administrators).
    Not using Mail Queue.
    Wordpress 3.5.2.
    Subscribe2 8.9.1.
    Trying to send plain text digest emails only. Once per day max.
    They are getting different emails - not the same email delivered twice.
    Each subscriber is signed up only once.
    All subscribers are public subscribers - there are no registered subscribers.

    Appreciate your help on this. I have this hunch it may send two emails on days when there are more than one post per day? That seems like an issue that would have been found long before now, but that's the feeling I have.

  12. mattyrob
    Member
    Posted 1 year ago #

    @thefitrv,

    I have Subscribe2 working on one of my sites in the same configuration as you (same WordPress, same Subscribe2 and digest mode). I never get duplicate emails irrespective of how many posts have been made.

  13. thefitrv
    Member
    Posted 1 year ago #

    Wow man - you're fast.
    Well if multiple posts per day aren't the problem, do you have any other suggestions or things I can check?
    I made 1 post today and we'll see what happens at 6pm I suppose. But if you had other suggestions. I'll give them a shot.

  14. mattyrob
    Member
    Posted 1 year ago #

    @thefitrv,

    Install and activate and email logging plugin like this one:
    http://wordpress.org/plugins/email-log/

    It will allow you to see how many emails Subscribe2 is generating each time it is called.

  15. cparente
    Member
    Posted 1 year ago #

    Hi Matt. Same thing has happened to me, and it coincided with my site getting updated to WP 3.5.2. (I didn't update, but that's another mystery.)

    I'm getting two emails to both my test addresses, a Yahoo and a private address. One HTML, and one text. I'm using Subscribe2 8.9.1. One address is public, one is registered (me).

    I've set the "number of recipients to 1" as you say above, though it has always been set to 0 in the past and never caused this issue before. There are no dupes in my subscriber list -- I've only got 35.

    Any other ideas? Thanks in advance.

  16. mattyrob
    Member
    Posted 1 year ago #

    @cparente,

    It might be worth re-applying the WordPress update. In your WordPress admin area go to Dashboard->Updates and click on the "Re-install Now" button to make sure 3.5.2 is installed properly.

    Also, you might want to install a mail logging plugin so track down where the duplicates are coming from. This one is easy to install and use:
    http://wordpress.org/plugins/email-log/

  17. cparente
    Member
    Posted 1 year ago #

    Thanks, I've done both. The reinstall was practically instantaneous. The email log is empty, I assume until I publish another post?

  18. mattyrob
    Member
    Posted 1 year ago #

    @cparente,

    The email log will now log any future emails for post notifications and also things like emails for registrations and comment moderation. Next time you post you need to check the mail log.

  19. cparente
    Member
    Posted 1 year ago #

    OK, just published. Very strange. Got a single email to one of my personal addresses, and in the format I think I've set, HTML excerpt. That's set on the Notifications Settings page in the plugin, correct? If relevant, this address is a registered subscriber (me).

    However, I received two emails, 8 minutes apart, to my Yahoo address. And, one is full text, and the other is full HTML! Looked at the email log, and it reports only one email sent. This is a public subscriber.

    I'm reaching out to a couple of subscribers, to ask what they are receiving.

  20. mattyrob
    Member
    Posted 1 year ago #

    @cparente,

    In Subscribe2->Settings under the Email Settings tab is the number of recipients per email set to 1? If not please change it to that.

  21. cparente
    Member
    Posted 1 year ago #

    Matt -- yes I set it to 1 2 days ago, prior to this publication.

  22. thefitrv
    Member
    Posted 1 year ago #

    I'm back. Haven't seen the problem in a while, but today I noticed what appeared to be a subscription confirmation going out twice. Normally, I might shrug that off as "they entered their email twice".

    But in this case, the confirmation went out twice in the same minute, according to the email log:

    30 July 16, 2013 @ 7:09 am xxxxxxx@comcast.net [The Fit RV] Please confirm your request
    29 July 16, 2013 @ 7:09 am xxxxxxx@comcast.net [The Fit RV] Please confirm your request

    Seems a bit unlikely.

    I also haven't tried posting more than once in the same day again yet, to see if that triggers it. Like cparente - number of recipients is set to 1.

  23. mattyrob
    Member
    Posted 1 year ago #

    @thefitrv,

    Those two emails didn't go at the same time. They are a day apart. I would be suspicious of an automated form entry by a bot in this case or its an amazing coincidence if made by a real human.

  24. cparente
    Member
    Posted 1 year ago #

    Update. A subscriber replied, taking a screen shot that shows he is only getting one email. That's good. What's confusing is that it's still the plain text version.

    On the Notifications Settings page, I have it set for HTML excerpt. And that's the version I received to my personal, registered email account. Reminder -- my Yahoo email account received both plain text, and full HTML versions.

    Any thoughts on what's going on? Thanks.

  25. thefitrv
    Member
    Posted 1 year ago #

    Too funny. That's what I get for reading logs in the middle of the night.
    I've verified that's a real subscriber.
    Still keeping an eye on it. Thanks for your help.

  26. mattyrob
    Member
    Posted 1 year ago #

    @cparente,

    On the Notifications Settings page, I have it set for HTML excerpt.

    No, you haven't set it for HTML Excerpts. You cannot control the email format for Public Subscribers - they all get plain text excerpts. If you want then to get HTML emails you need to buy Subscribe2 HTML.

    In the Subscribe2->Settings page you can define HTML Excerpt as the default email type for newly registering users (so a Registered user/subscriber not a public one) but even then it's the default setting than can be changed by that user.

  27. cparente
    Member
    Posted 1 year ago #

    Excellent, thanks for clarification Matt. Now the only mystery remaining is why multiple emails to Yahoo account.

    Appreciate this plugin, and your responsiveness.

  28. mattyrob
    Member
    Posted 1 year ago #

    @cparente,

    It might be worth checking to see if the yahoo email addresses are subscribed more than once in Subscribe2. Also, check in the mail log you've installed and see of the email is in there twice also. If it is then you are being sent two emails.

  29. thefitrv
    Member
    Posted 1 year ago #

    Well, as for my issue, I think it's solved - or at least, I've figured out it's not this plugin.

    I have other administrative emails that go out automatically. I'm receiving some of these (randomly) multiple times as well. Not just twice, but occasionally three times. These are separate emails - so something in my wordpress install is sending emails, randomly, more than once. Subscribe2 does not seem to be the issue.

    Thanks Matt for the support and the plugin.

  30. mattyrob
    Member
    Posted 1 year ago #

    @thefitrv,

    The entire email system for the internet is designed to ensure delivery and as such duplication is preferred to failure. That said, frequent duplication is not common as the system is pretty robust.

    It might be worth checking plugins in WordPress, making sure your blog is secure (may try Exploit Scanner) and perhaps getting your host to check the email server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic