Running a function only once when a taxonomy term is changed

In your emailfunction, check if the date is difrent from the publish date, if so, don’t email. This will cause you to email only once?

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