The line of code below is not working.
sendMail($to,$name, $subject, $from, $message);
All variables tested just below the line with echo command. I see no reason for it not to work.
I have more of this code in other parts of the .php and it works fine.
No error message as I run the page. But the e-mail is not sent.
It there a way to track this line of code to see details of what is happening to it ?
Something as see a log file of this event or even erros stored to a variable ?