E-Mail Notification on post edit

i think this should help, https://wordpress.stackexchange.com/a/95512/139936 on ‘save_post’ hook, you can send your email. But it will only work on direct update. if you want to wait 24h, you will have to set a cron job that will check every post & send an email with posts updated in the last XX hours.

New user notification issue

In your email code you’re using mail PHP function, whereas WordPress uses its own internal wp_mail function that then sends the email using PhpMailer (for many different reasons) .. which should be using PHP’s mail fn but there’s a number of different things that could be causing problems. You can also install the “WP Mail … Read more

wp_mail send multiple emails in a loop

Function wp_mail() not suitable for use in a loop. Unfortunately, a loop iterating over and over hundreds of times could considerably slow down the script, as pointed out in the reference on the PHP_mail() function. It is worth nothing that the mail() function is not suitable for larger volumes of email in a loop. This … Read more

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