PHP Classes

File: examples/examples.inc.php

Recommend this page to a friend!
  Classes of Christian Vigh   PHP Mail Sending   examples/examples.inc.php   Download  
File: examples/examples.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Mail Sending
Send HTML email messages with attachments
Author: By
Last change: Update of examples/examples.inc.php
Date: 1 year ago
Size: 716 bytes
 

Contents

Class file image Download
<?php
   
/****************************************************************************************************

        This file is included by all the examples in this directory.
        Don't forget to set the $recipient and $sender variables !

     ****************************************************************************************************/

   
require ( dirname ( __FILE__ ) . '/../Mail.phpclass' ) ;

   
// Recipient address - set it to your preferred own email address for your testings
   
$recipient = "me@somewhere.com" ;

   
// Sender address - set this variable to false if you want the Mail class to use the "sendmail_from" setting
    // of your php.ini file
   
$sender = "mail-example@example.com" ;