How send email using php?

by:

GeneralPhpPHP Interview Questions

To send email using PHP,
You use the mail() function.This mail() function accepts 5 parameters as follows
(the last 2 are optional).

You need a webserver to send mail

Example : mail($to,$subject,$message,$headers);