Email is used by most people 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.
<?php
$to = "email@address.com";
$subject = "Our Subject";
$message = "The message to send";
$header = "From: you@email.com";
mail($to, $subject, $message, $header);
?>
Click here for more information on the mail function
Related posts:
- Twitter-like pagination using CodeIgniter and jQuery If you use Twitter you'll notice that there is a...
- Twitter-like pagination using CakePHP and jQuery I have already done this tutorial with CodeIgniter and jQuery...
Related posts brought to you by Yet Another Related Posts Plugin.
