this is it :

mail($to,$subject,$body,$headers);

just you maybe have problem with smtp which in that case you must change
2 or 3 lines in your php.ini