I've got my angular app on my web server and I need the app to send an email!
Most simple way I can think is to just send data from Angular to a PHP file which can just execute PHP Mail.
Trouble is, I've made a directory within the app called /php
, and inserted a .php
file. When I aim at the .php
file, it takes me to my app but with no data or anything. I really just want it to execute the .php
file.
Now I do understand, the app is running in express server which will not run PHP, so is there a way around this?
Thanks (I'm running Angular 6)