Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of James Calvin Kimble  >  Attachment Mailer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: how to use this script
Class: Attachment Mailer
Send e-mail messages with multiple attached files
Author: By
Last change:
Date: 2007-11-21 01:58
Size: 275 bytes
 

Contents

Class file image Download
<?
include("mailer.class.php");
$mailer=new mailer("webmaster@localhost","does it work","yes","From: webmaster@localhost");
$mailer->file("example.php");
$mailer->attach("text/plain","see.txt","tada 2 attachments");
$test=$mailer->send();
echo 
$test?"sent":"error";
?>