I have built some custom front-end pages for WP and generally have been able to use all plugins with little trouble in my custom php code.
But when I tried to call wp_mail() I get this error: PHP Fatal error: Call to undefined function wp_mail().
As I use a SMTP plugin is it possible this is hurting things?
Is there a basic reason I am not picking up the wp_mail function in my front end code when I can see and use all the other WP functions?