error_reporting(E_ALL ^ E_NOTICE); doesn't give any report.
And mail doesn't return anything either.
Tried this and it returns the else part(Sending...failed):
(@mail($value, $subject, $content, $headers))?print 'Sending email to '.$value." was successful.<br>\n" : print 'Sending email to '.$value." failed.<br>\n";