The following function is using for sending php mail:
<?php mail(to, subject, message, headers, parameters); ?>
mail is php library function which is using globally
t0 – receiving address
subject-the subject of mail
message- message to send
headers-optional, cc,bcc..etc
parameters- optional, specifies additional parameters