In order to directly send emails from
a script or website, the mail() function is used in PHP. It has a total
of 5 arguments. The general syntax of a mail function is: mail (to, subject, message, headers, parameters);
to denotes the receiver of the email
subject denotes the subject of the email
message is the actual message that is to be sent in the mail (Each line is separated using /n and maximum character limit is 70.)
headers denote additional information about the mail, such as CC and BCC (Optional)
parameters denote to some additional parameter to be included in the send mail program (Optional)