Daily digest email only if messages are unread


Home Forums Front End PM PRO Daily digest email only if messages are unread

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45034
    ludovic.clain
    Participant

    Hi @shamim 👋 
    I have just taken over your plugin and it is very practical, congratulations! 🎉 

    For the moment, I’m having trouble with the emailing functionalities, which in my opinion are unnecessarily duplicated in the current settings (if the person is already online, and conversing, they still receive an email, and if the person doesn’t is not online she finds herself with a lot of emails for a group conversation for example).

    A possible improvement that I see:
    A daily digest email only if messages are unread, like “You have x unread messages”.
    Is it possible immediately to have this functionality with a snippet or it’s more complicated that I think?

    #45038
    Shamim Hasan
    Keymaster

    add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'fep_enable_email_send', '__return_false' );
    

    This will disable email sending.

    Then add a daily cron which will send email for all unread messages. This will be complicated and require custom code integration.

Viewing 2 posts - 1 through 2 (of 2 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.