Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Wasaabi
New

"mail()" sending 2 emails when executed

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("my.email@gmail.com","Why the doubles","You can't handle the doubles! - so why is this coming in twice!?!?",$headers);

 

Please advise.

 

Thank you!

1 REPLY 1
SG4101
Employee

Hello @Wasaabi and welcome to the Community!

 

I apologize for the late welcome and response. Were you able to get this issue fixed and do you mind sharing how?

GoDaddy Support is available 24/7!