Hi @junaidrs,
Please update the plugin to the latest v2.1.0 – we’ve made a few improvements that may help with your task.
Now it’s possible to add custom triggers for the emails. To do that, you need to know which action is fired by the “WooCommerce Points and Rewards” plugin when customers get their points. As I don’t have access to the plugin code, unfortunately, I can’t say exactly what this action is (if any). When you know the action, you need to add it to the list in “WooCommerce > Settings > Custom Emails > General > Custom triggers”. Then you can select it in the custom email’s “Triggers”, i.e., in “WooCommerce > Settings > Emails > Custom email #X > Triggers”.
P.S. You can also send a custom email directly with our alg_wc_ce_send_email()
PHP function, e.g.:
alg_wc_ce_send_email( 1, 53912 );
here 1
is the custom email num, and 53912
is the order ID.
Please give it a try and let me know what you think.