Hey, So I've been trying to execute the mail php 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 mail or wp_mail function 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 doesnt work.
any light? wp 2.9