• Resolved flipside37

    (@flipside37)


    This is a great plugin!
    I have used it for more than 6 months with no problems.
    After any post that is published, an email was sent to specific recipients.
    Suddenly, a couple of weeks ago, the plugin stopped sending emails.
    In Reports there is no entry after that.
    The status of the campaign is enabled.
    In Settings -> Email Sending the “ig_es_cron_worker” has an interval of 15 minutes.
    Also, I can send a test email on Settings -> Email Sending.

    Can you help me on that?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    We have tried to replicate the issue at our end but it looks like it is working as expected.

    Can you please confirm if the post being published have the required categories as set in the active campaign? Also, can you let us know if you are publishing a new post or republishing the existing one?

    Answers to the above questions will be helpful in understanding the issue better.

    Hope this helps you. Let us know if you have any further queries.

    Thank you.

    Thread Starter flipside37

    (@flipside37)

    Hello kishanranawat,

    Thank you for your reply.
    2 days ago started working again, without any changes by me.
    It seems strange… but everything is working now.
    Have you ever noticed such a behavior?

    Regards.

    Thread Starter flipside37

    (@flipside37)

    Hello again kishanranawat,

    I’m pretty confused!
    The plugin is not sending emails again…
    About the things you asked:
    – The posts are having the right category as set in the active campaign
    – I’m publishing a new post

    Regards.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    Can you let us know if a report is generated for the published post on the Reports page?

    If a report is generated that means emails are being queued for sending and the issue might be with the sending process. In this case, what happens when clicking on the Send Queued Emails Now button? Are emails getting sent/received successfully?

    Your answers to the above queries will help us in understanding the issue better. Let us know if you have any further queries.

    Thank you.

    Thread Starter flipside37

    (@flipside37)

    Hello @kishanranawat,

    There is no report generated.
    On the upper right side I see a message “No emails found in queue”.
    Keep in mind that I can send successfully a test email (settings -> email sending -> send test email).

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    Thanks for providing more information related to the issue.

    When publishing a new post, it should send the notifications without any issue.

    If you are republishing an existing post and for this post, the plugin has previously sent a notification in the past, then in order to avoid duplicate notifications, the plugin wouldn’t send a notification again on republishing the post.

    Can you let us know if you are publishing a new post or republishing an existing one?

    Let us know if you have any further queries.

    Thank you.

    Thread Starter flipside37

    (@flipside37)

    Hello @kishanranawat

    I’m not republishing an old post.

    I’m using the plugin “Duplicate Page” in order to create the new post (to have the category preselected), I change the title and the slug of the post, I add the text and I publish it.

    This is the way I was working for many months, and your plugin was working like a charm.

    Now I’m facing the problem that I described.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    Thanks for providing the steps which you are following to create the post. That helped us to understand the issue better.

    In the recent versions, to avoid duplicate post notifications on republishing the post, the plugin first checks if previously a post notification has been sent or not. The plugin stores past sent history in the ig_es_is_post_notified flag.

    We have found that when duplicating a post, all data from the old post gets copied to a new post. This includes the flag ‘ig_es_is_post_notified‘ also. Therefore when publishing the duplicate post, the post is considered as previously sent.

    Deleting the flag ‘ig_es_is_post_notified‘ from duplicated post should allow sending of post notifications in this case. You can refer to this screen recording on how to do it in Gutenberg. Also this screen recording might be helpful in deleting the flag in case if you are using classic editor.

    Hope this helps you. Let us know if you have any further queries.

    Thank you.

    • This reply was modified 2 years, 10 months ago by kishanranawat.
    Thread Starter flipside37

    (@flipside37)

    Hello @kishanranawat,

    I understand what you say. Thanks for the screen recordings.

    I forgot to tell you that I’m using “WP News and Scrolling Widgets”, and everytime I publish a news post I want an email to be sent to someone.

    When I go to “screen options” of a new post inside “WP News and Scrolling Widgets” post, there is no “custom fields” option (like in WP posts screen options).

    If there is no other workaround, I suppose that the problem will be solved if I create a new post without duplicating a previous one, right?

    Regards.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    Yes, If you create a new post without duplicating a previous one, this will work without any issue.

    Also, we have checked the “WP News and Scrolling Widgets” plugin at our end.

    Though the plugin doesn’t support custom fields by default, you can use the following code snippet to add it.

    if ( ! function_exists( 'custom_code_change_post_type_args' ) ) {
    
    	add_filter( 'register_post_type_args', 'custom_code_add_custom_fields_support', 10, 2 );
    	
    	function custom_code_add_custom_fields_support( $args, $post_type )
    	{
    		if ( 'news' ===  $post_type ) {
    			$args['supports'][] = 'custom-fields';
    		}
    
    		return $args;
    	}
    
    }

    You can put the above code in the functions.php of your current active child theme.

    Hope this helps you. Let us know if you have any further queries or face any difficulties.

    Thank you.

    • This reply was modified 2 years, 9 months ago by kishanranawat.
    Thread Starter flipside37

    (@flipside37)

    Hello @kishanranawat

    Thank you for the code!
    I’ve tried it, but I had no luck.
    I will continue creating a new post (not a duplicate). It works fine!
    Thank you again for your time.

    Regards.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hello @flipside37,

    Thank you for your response. Glad to see that you managed to make things work even though our code didn’t work.

    Since the issue has been resolved now, I am closing this thread.

    Feel free to open a new thread whenever you have any queries or face any difficulties in the future. We will be happy to assists you.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Suddenly stops sending emails’ is closed to new replies.