I'm developing a website with a contact form. The form is very simple with just name, email , message and subject.
I have the site hosted on a server, but I need the form data to be received in another email , not what is set up in the hosting service. p>
I tried the function mail
of php and it did not work. I tried to use the PHPMailer
class and something related to STMP, but I do not know this area very well, so it did not work either.
How can I resolve this problem?