PHP Classes

File: attach_mailer_example.php

Recommend this page to a friend!
  Classes of Olaf Lederer   Attachment Mailer class   attach_mailer_example.php   Download  
File: attach_mailer_example.php
Role: Example script
Content type: text/plain
Description: A simple example send a mail with attachments
Class: Attachment Mailer class
Send e-mail messages with attachment files
Author: By
Last change: example data for the first attachment is changed.
Date: 18 years ago
Size: 1,310 bytes


Class file image Download

$test = new attach_mailer($name = "Olaf Lederer", $from = "", $to = "", $cc = "", $bcc = "", $subject = "Test mime email class", $body = "Some body text");

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Attachment Mailer example script</title>

<h2>Attachment Mailer example</h2>
<p>This is a simple example of how to use this class. First of all this version supports textmail with multiple attachements. The files need to be uploaded first. To create an online mail application you have to build a form and for the uploads you should use the upload class on (<a href="">Easy PHP Upload</a>)</p>
<p><a href="">More PHP scripts and classes at </a></p>
<p style="color:#FF0000;"><?php echo $test->get_msg_str(); ?></p>