I have been trying to execute the PHP
mail() function and
wp_mail() function in a PHP function in WordPress.
The PHP function is called by a cron hook. The problem is, it doesn't execute the
wp_mail() functions at all. I even threw it inside another function which I know works perfectly, and again, the cron doesn't execute the mail command. It works outside the function and it works if I call the function manually (
myfunction();) but when cron calls it, it doesn't work.
Any light? WP 2.9