draft_to_pending action doesn’t seem to fire

You might not have all the right actions covered, try to add those:

add_action('new_to_pending', 'notify_email_rejected');
add_action('auto-draft_to_pending', 'notify_email_rejected');

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