Is there any reason why this would send duplicate emails? I have a PHP page with only this code on it and every time I run it it sends me two emails.
Maybe your page loads twice, therefore executes the code two times...You could try some limitation, something like that
if ($sent == '0') { mail("abc@def.ghi", "test", "test"); $sent = 1; }
Is this a simple php page, or part of a CMS? Maybe some modules might interfere with your page...