Friday, August 22, 2008

Sending Email With PHP

8/22/2008 07:46:00 PM |

Email is used by most poeple that use the internet and is good for sending activation codes and notifications to users when you have a website.

To send an email you use the mail() function and it requires 3 parameters.

$to = "";
$subject = "Our Subject";
$message = "The message to send";
$header = "From:";

mail($to, $subject, $message, $header);

You Might Also Like :