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: 386 All time: 6,683 This week: 571Up
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: 7 packages by
Country: Colombia Colombia
Age: 37
All time rank: 249714 in Colombia Colombia
Week rank: 411 Up2 in Colombia Colombia Up

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  
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

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:386
This week:0
All time:6,683
This week:571Up