In woocommerce who is responsible for sending the receipt email?

WooCommerce sends the emails – triggered by the payment_complete method of the order class.

By the way, WC has an official paypal pro extension: http://www.woothemes.com/extension/paypal-pro/ written by myself.

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