I have hosted a WordPress website and I am able to send emails from my website. I was wondering if I can reuse those modules and write a simple PHP to send email.
I am very very new to PHP so please share some pointers that I can refer to reuse the existing code.
I have tried simple mail function of PHP but looks like it requires lot of settings or configurations to be done before it's being used as it didn't work for me.