PHP Classes

MixMail: Send email to multiple addresses using templates

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 387 All time: 6,678 This week: 206Up
Version License PHP version Categories
mixmail 1.0.0BSD License5.4HTML, Email, PHP 5, Templates


This class can send email to multiple addresses using templates.

It extends the mixing template class to compose a message from a HTML template that is processed by replacing optional template variables.

The message may also have optional attachment files.

The composed message is sent via SMTP using PHPMailer.

Picture of Luis Toscano
  Performance   Level  
Name: Luis Toscano <contact>
Classes: 8 packages by
Country: Colombia Colombia
Age: 37
All time rank: 247313 in Colombia Colombia
Week rank: 18 Up1 in Colombia Colombia Up
Innovation award
Innovation award
Nominee: 1x


EMAIL with PDF Attachment
I want to send a invoice PDF file via email



include 'mixmail.class.php';

$config = array(
'host' => , // Host
'port' => , // Port
'encription' => , // Encription Ex : TLS
'auth' => , // AUTH Ex : true in Boolean
'username' => , // Username
'password' => , // Password
'frommail' => , // From Mail
'fromname' => , // From Name
'replymail' => , // Reply Mail
'replyname' => // Reply Name

$data = array(
'data' => array(
'tags' => 'Mixing Tags' // Tags to replace in a Template File
'file' => , // File Template
'email' => , // Listing Mail comma separated
'files' => , // URI to Files, array format array('file1.png', 'file2.doc')
'asunto'=> // Subject

$mail = new mixMail($config);

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of use
Plain text file mixmail.class.php Class Core of Class 1KB
Downloadmixmail-2015-10-02.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHPMailer Download .zip .tar.gz The PHPMailer is a engine for send the mail. Required
MIX Template Engine Download .zip .tar.gz Mix Engine Template for Mixing HTML with the Data Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,678
This week:206Up