In my code - I have a virtual user set up through cPanel and my PHP code calls the function "mail(), yet I am receiving 2 copies of the email when sent. I have tried to find a solution, but there are no articles that potentially deal with this issue.
I am only calling mail() once in the entire page:
$headers['From'] = "support@mydomain";
echo mail("email@example.com","Why the doubles","You can't handle the doubles! - so why is this coming in twice!?!?",$headers);