How to send an email from PHP
The mail() function provides the necessary bit of code. Here is its format:
mail($To, $Subject, $Message, $ExtraHeaders);
where:
$To: The recipient's email address
$Subject: The subject of the email
$Message: The email's body text - what you want to send!
$ExtraHeaders: Any extra email headers you want to add to the outgoing email.
$Subject: The subject of the email
$Message: The email's body text - what you want to send!
$ExtraHeaders: Any extra email headers you want to add to the outgoing email.
