How many paramenter pass in mail function php

The mail() function in PHP takes 3-5 parameters, depending on the version of PHP you're using. Here's a breakdown:

PHP 5.x and earlier:

PHP 6.x and later:

So, in summary, the mail() function in PHP can take 3 or 5 parameters, depending on the version of PHP you're using.