File: example.php

Recommend this page to a friend!
  Classes of Luis Toscano  >  MixMail  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of use
Class: MixMail
Send email to multiple addresses using templates
Author: By
Last change: fixed code
Date: 6 years ago
Size: 769 bytes
 

Contents

Class file image Download
<?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);

For more information send a message to info at phpclasses dot org.