Hi,
I am building custom PHP page inside Wordpress. Actualy it is a processing file, which inserts some data in db and aftherwards I would like to send an email to the client.
When I try to do it, I receive the following error:
Fatal error: Call to undefined function wp_mail()
Probably because the WP environment is not loaded in this processing php file. What do I have to do? Do I need to put something in the functions.php file maybe?
Looking for help...
Best,
Goran