• Resolved cerrone

    (@cerrone)


    Hello everyone,
    the issue: Me as an admin I receive two emails when someone registers for a free membership (all I have set up atm), however, the person registering does not receive any email confirmation.

    I have looked at all pages of Support/Help but cannot find a clear statement about whether this feature is included in the free version. My hunch is such that the devs don’t want to make it clear as people likely wouldn’t want to use the free version at all. In fact, there’s actually a conflicting statement about this here in Support (one says it is, the other says it does not).

    Now, am I facing a bug or are default email confirmations (to the person registering) included in the free version or not?

    Thanks indeed!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support ramilbatoy

    (@ramilbatoy)

    Hi @cerrone,

    WordPress transmits RC transactional emails. Since RC uses the WordPress email system, the emails delivered to your client might be sent to spam due to your server security and cache.

    You may notify your clients to check their spam folders for email activation before they can access your Content.

    Please check this article about emails not being sent:
    https://help.ithemes.com/hc/en-us/articles/360050104153-Emails-Not-Being-Sent

    Best regards,

    Thread Starter cerrone

    (@cerrone)

    Thanks Ramil. Let me check and review.

    Thread Starter cerrone

    (@cerrone)

    Hey again,

    this is the part I don’t understand:

    `Go to Restrict > Settings > Emails and find the relevant email template (i.e. “Active Subscription Email” for PAID registrations or “Free Subscription Email” for PAID ones). Confirm these three things:

    The “Disable” checkbox should be unchecked.
    The “Subject” box should be filled out.
    The “Email Body” box should be filled out.`

    a. “…for PAID registrations or “Free Subscription Email” for PAID ones”. What does that mean?
    b. There’s no subject or email body in Settings > Email: https://jmp.sh/vC27q5SA

    Thanks.

    Thread Starter cerrone

    (@cerrone)

    Alright, on my stating server, the registering user now gets the emails. Though, interestingly, only after installing the plugin “WP Mail Logging”, which says that the email was sent.

    Thanks!

    PS: I assume there’s a mistake in the initial sentence above: “for PAID registrations or “Free Subscription Email” for PAID ones”

    Thread Starter cerrone

    (@cerrone)

    I have installed the same WP Mail Logging plugin on the production WP (same server as staging WP).

    The logs do NOT show any emails to the user that registered. For testing purposes I have used the same @domain for the user that registered, for both stating and production WP.

    In terms of the help article…
    https://help.ithemes.com/hc/en-us/articles/360050104153-Emails-Not-Being-Sent

    Step1: status is active
    Step2: I don’t see subject nor body on production, however, on stating I don’t see that either, but the registering user did receive the email
    Step3: NOT TRIGGERED

    What’s the solution for emails that are not being triggered, please? Thanks indeed!

    • This reply was modified 2 years, 1 month ago by cerrone.
    Thread Starter cerrone

    (@cerrone)

    Here’s the issue. On staging, the subject and body have been set (not by me, see below)

    How can I set the subject and body without having the actual input fields in Settings > Email?

    +++ STAGING +++

    – doesn’t use HTTPS
    – no use of Cloudflare
    – uses a subdomain as it’s just staging
    – 1:1 setting in RC as production
    – I don’t see fields for subject nor body in Settings > Email: https://jmp.sh/zZxb5i5k
    – I have not actively set subject/body myself

    — RCP Email Settings
    RCP_DISABLE_EMAILS Constant: Status: Not Set
    Email Verification: Status: Off; Subject: Set; Body: Set
    Active Subscription (member): Status: Enabled; Subject: Set; Body: Set
    Active Subscription (admin): Status: Enabled; Subject: Set; Body: Set
    Cancelled Subscription (member): Status: Enabled; Subject: Set; Body: Set
    Cancelled Subscription (admin): Status: Enabled; Subject: Set; Body: Set
    Expired Subscription (member): Status: Enabled; Subject: Set; Body: Set
    Expired Subscription (admin): Status: Enabled; Subject: Set; Body: Set
    Free Subscription (member): Status: Enabled; Subject: Set; Body: Set
    Free Subscription (admin): Status: Enabled; Subject: Set; Body: Set
    Trial Subscription (member): Status: Enabled; Subject: Set; Body: Set
    Trial Subscription (admin): Status: Enabled; Subject: Set; Body: Set
    Payment Received (member): Status: Enabled; Subject: Set; Body: Set
    Renewal Payment Failed (member): Status: Enabled; Subject: Set; Body: Set
    New User Notifications: Enabled

    +++ PRODUCTION +++

    – uses HTTPS
    – all DNS goes through Cloudflare
    – uses a proper domain
    – 1:1 setting in RC as staging, but added 2 pages in Settings > Misc for privacy policy
    – I don’t see fields for subject nor body in Settings > Email: https://jmp.sh/MCf2RDrz

    — RCP Email Settings
    RCP_DISABLE_EMAILS Constant: Status: Not Set
    Email Verification: Status: Off; Subject: Not Set; Body: Not Set
    Active Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Active Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Cancelled Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Cancelled Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Expired Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Expired Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Free Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Free Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Trial Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Trial Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Payment Received (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Renewal Payment Failed (member): Status: Enabled; Subject: Not Set; Body: Not Set
    New User Notifications: Enabled

    Quim

    (@quim-codina)

    Hi,

    It looks like updating settings from Restrict Content settings page removes the email templates (subject and body).

    With this script the default templates will be added when saving the settings.

    I strongly recommend you test it first in a development environment.
    Maybe the plugin’s authors can validate this solution.

    add_filter('rcp_save_settings', function ($settings) {
    
        if (!function_exists('rcp_create_default_email_templates')) {
            return $settings;
        }
    
        if (!isset($settings['active_subject'])) {
            $templates = rcp_create_default_email_templates();
            if ($templates) {
                $settings = array_merge($settings, $templates);
            }
        }
    
        return $settings;
    });
    Thread Starter cerrone

    (@cerrone)

    It’d be happy to try this out.

    In which file shall I add the code to the bottom?

    Quim

    (@quim-codina)

    Inside your theme in functions.php file.
    Once you have added the script go to the Restrict Content settings page and update the settings

    Thread Starter cerrone

    (@cerrone)

    I have added the snippet.

    Turns out, I don’t see any new content/button/input fields in Settings of Restrict Content.

    Quim

    (@quim-codina)

    You will not see anything new, just go to Settings and click on Save Options. The snippet works when the settings are saved.

    Thread Starter cerrone

    (@cerrone)

    Did what you said above. When I save, the browser shows the “missing” input fields (to set a subject/body for an email) only for a fraction of a seconds and then hides them again.

    Alas, these settings are still the same (taken out of RC > Tools > System Info).

    — RCP Email Settings

    RCP_DISABLE_EMAILS Constant: Status: Not Set
    Email Verification: Status: Off; Subject: Not Set; Body: Not Set
    Active Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Active Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Cancelled Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Cancelled Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Expired Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Expired Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Free Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Free Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Trial Subscription (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Trial Subscription (admin): Status: Enabled; Subject: Not Set; Body: Not Set
    Payment Received (member): Status: Enabled; Subject: Not Set; Body: Not Set
    Renewal Payment Failed (member): Status: Enabled; Subject: Not Set; Body: Not Set
    New User Notifications: Enabled

    Thread Starter cerrone

    (@cerrone)

    I don’t understand why RC (free version) sets them in the staging WP but not in the production WP.

    Setting subject/body is required for emails to be sent (to the registering user in my case).

    Plugin Support Rebecca Diamond

    (@rebeccadiamond)

    I wanted to respond and let y’all know that this was fixed a while back – I didn’t realize we still had open threads about it ?? Make sure you’re updated to the latest version, and the email settings no longer disappear.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Email Confirmations for New Active Memberships’ is closed to new replies.