PHP Classes

MixMail: Send email to multiple addresses using templates

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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
Description 

Author

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: 246913 in Colombia Colombia
Week rank: 44 Up1 in Colombia Colombia Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Recommendations

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

Example

<?php

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);
$mail->send($data);


  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadmixmail-2015-10-02.zip 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  
 0%
Total:387
This week:0
All time:6,678
This week:206Up