User subscription emails not firing from custom plugin

The user’s email column is user_email. Always develop with debugging enabled to catch errors in your code.

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