Free PHP HTML Email Starter Script

This script will help you add a versatile and extensible PHP-based HTML email script for any project you may have. This email script has been setup and tested for use with UTF-8 characters.


  • UTF-8 characters are not a problem
  • Used on many of my own sites
  • Easy to read & easy to expand upon
  • The ability to send attachments is not setup


Unzip the contents of the zip file into a folder on your web server. Edit the email_functions.php file to properly set the properties of your business (name, from email, etc.). Next, include that file in the script you are using and call it like so:

$status = sendmail($to, $subject, $message, $from);

$from is optional and it’s default value is set at the top of the email_functions.php file.
$status will be either true or false depending on if the email worked or not.


You can download this script here: (2KB) (113 downloads) Flatlogic Admin Templates banner