Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello aprobaringles, I trust all is well!

    Would you please elaborate and explain more about this issue? What emails are not working well?

    Please add this line to your wp-config.php file to keep track of all emails that the Membership 2 is sending put.

    define( "MS_LOG_EMAILS", true );

    After this you will be able to see what emails have been sent from Membership 2 > Help > Email History.

    Please advise,

    Kind regards,
    Nastia

    Thread Starter aprobaringles

    (@aprobaringles)

    Hi, thanks for your response.

    I have set up the emails with the add-on automated emails. The only emails that are being sent out are:

    1- New user registration on your site
    2- To set your password, visit the following address
    3- User account created

    Everything else like:

    – subscription completed w payment
    – renewal
    – expiration, etc

    nothing else is working at all.

    I test memberships myself as if I was a new member and nothing other than the 3 emails above get sent out.

    I’ve tried uninstalling and resetting the plug-in but nothing fixes it.

    https://www.aprobaringles.com

    I can get you access to the site if you want so you can take a look at it perhaps?

    Thanks!

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello aprobaringles!

    I hope all is well!

    I have confirmed that “Subscription completed with payment” email is not sent from Membership2 and I have reported this to our developers.

    Although I’ve setup my site to test the automated emails like “Subscription Renewal” & “Subscription Expired” emails and will have the results tomorrow.

    Thank you for letting us know about this!

    Kind Regards,
    Nastia

    Hi Nastia/Aprobaringles, was a solution ever found for “not sending emails” out of Membership 2?

    Thread Starter aprobaringles

    (@aprobaringles)

    Not at all! The last person helping me on this issue disappeared..

    I am having the same problem. I think problem might be in MS_Model_Communication::send_message() where it calls
    $delay = $subscription->seconds_since_last_email( $this->type );
    This returns FALSE if no such email has ever been sent yet, and so lower down where it says
    if ( $delay < $ignore_duration ) {
    this always returns true and so it thinks it’s a duplicate email and skips it. If you have logging turned on you get a file lib3.log under wp-content that shows the skipped message.

    having the Same issue with eMail!

    Demerit, were you able to get anywhere with your MS_Model_Communication?

    I have been looking everywhere in terms of where the emails are triggered, and I am having no luck.

    I will keep trying to investigate on my end and will let you all know – please let me know if anyone comes across anything.

    Thank you!

    Well, if you change the line I mentioned to
    if ( ($delay !== FALSE) && ($delay < $ignore_duration) ) {
    then it does something, but I’m not familiar enough with the rest of the code/plugin to know if this is the right fix or if it might break some other feature.

    • This reply was modified 8 years, 1 month ago by demerit.

    Hey @demerit. Thank you so much for the help. I’m going to play around with the code a bit tomorrow and see what I can figure out. I agree it has to do with that function, but like you, I’m not sure what else it affects.
    I will report back if I figure anything else in the testing.
    Thank you again!
    – Stasia

    Hey @demerit. Thank you so much for the help. I’m going to play around with the code a bit tomorrow and see what I can figure out. I agree it has to do with that function, but like you, I’m not sure what else it affects.
    I will report back if I figure anything else in the testing.
    Thank you again!
    – Cascade

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘automated email responses not working properly’ is closed to new replies.