woocommerce_email_recipient_new_order not triggered

The order notification email to admin is sent as part of the Payment notification process – in this case Paypal IPN

To test this on a local domain, the best way was to trigger the order email from the orders list in the backend.

The above code works fine.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)