OK found my issue. I'm an idiot.
I was trying to call the wp_mail() function from a page I loaded via a jquery call.
A page called in that way does not inherit functions loaded from the main index.php.
Thanks for the help.
OK found my issue. I'm an idiot.
I was trying to call the wp_mail() function from a page I loaded via a jquery call.
A page called in that way does not inherit functions loaded from the main index.php.
Thanks for the help.