Created
March 16, 2011 21:21
-
-
Save luizfonseca/873343 to your computer and use it in GitHub Desktop.
"How to use" of the Sample Marketing Class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('./class/lib/PHPMailer_Class.php'); | |
require_once('./class/Marketing_Class.php'); | |
if($_SERVER['REQUEST_METHOD'] == 'POST') | |
{ | |
$marketing = new Marketing; | |
$marketing->destination = dirname(__FILE__) . '/files/'; | |
$marketing->type = 'html'; | |
$marketing->file = $_FILES; | |
$marketing->csv = $_FILES; | |
$marketing->send_marketing(); | |
} | |
else | |
{ | |
exit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment