Support » Plugin: Order Splitter for WooCommerce » Denied by Rules – Woocommerce

  • Resolved xanda

    (@xandanet)


    Hey guys,

    wc_os_filter() function is causing issues with the default emails sent from woocommerce.

    If you comment line 1075 in your wos-email.php, everything works fine.

    I believe you guys need to fix this cause it stops all default emails from Woocommerce from being sent.

    Hope this helps.

    • This topic was modified 1 month ago by xanda.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @xandanet denied by rules is actually related to the check boxes under emails tab. Did you check those settings?

    Thread Starter xanda

    (@xandanet)

    Hello Fahad,

    thanks for getting back to me, by the time you know that there is no issue with the plugin itself then i’ll check your solution.

    Many thanks

    nwagner

    (@nwagner)

    This “fixes” the error in the dashboard but the emails are not being received.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @xandanet please shed some light here if you think the manual email trigger is somehow halting the emails?

    nwagner

    (@nwagner)

    Some additional details – the error is reported in the WP Mail Log, what is actually happening it looks like is that there’s no email address for those emails to be sent to. Commenting out the line in the original post just stops the error from being reported in WP Mail Log but it doesn’t allow the email to be sent.

    In the raw info of an errored message from WP Mail Log. This seems to specifically hit the new order emails sent to the owner/manager of the site.

    Headers:
    Content-Type: text/html Reply-to: Nichole <emailhere@gmail.com>
    Attachments:
    Error:
    You must provide at least one recipient email address.
    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @nwagner actually there are a few checkboxes which we turn ON/OFF like do not send parent email or child order email, so when we check those boxes, script empties the “to” field and you see the “Denied by Rules”.

    nwagner

    (@nwagner)

    We made no changes to the initial settings -and are only using it for manual splitting. which of the default settings in the plugin need to be changed in order to send new order emails to the admin as normal?

    I’m having the same issue as shared by nwagner above – I have not made any changes to the default settings, as the client uses manual splitting only.

    When checking email logs, I also see ‘DENIED BY RULES’ and ‘You must provide at least one recipient email address.’ All other emails being sent by the site are sending successfully, it is only Woo emails being impacted.

    Nothing is ticked or filled in under the ‘Email’ tab in your plugin, in any section (ON/OFF, Placeholders, SMTP Settings, Test Email, Default Emails) because I don’t want Order Splitter to handle any of these things.

    How do I need to configure this plugin in order to have it leave everything else alone, and just let the client split orders manually?

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    I am leaving this thread as resolved because in this thread I answered about the “Denied by rules” as recipient. So your issue is with the default settings, nothing else ticked, emails are still not working as normal. I will wait for your ping through the urgent help option under the help tab on settings page.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.