Return to Snippet

Revision: 44092
at March 12, 2014 08:20 by JonnySnip3r


Updated Code
require('APEmail.class.php');
$Email = new APEmail();

$names = array('[email protected]','[email protected]');

$Email->add_recipient($names);
$Email->set_from('[email protected]');
$Email->set_subject('Hello, World | Subject');
$Email->set_message('This is a message.');

if($Email->send_email())
{
    echo "Email Sent!";
}

Revision: 44091
at April 6, 2011 04:11 by JonnySnip3r


Initial Code
require('APEmail.class.php');
$Email = new APEmail();

$names = array('[email protected]','[email protected]');

$Email->add_recipient($names);
$Email->set_from('[email protected]');
$Email->set_subject('Hello, World | Subject');
$Email->set_message('This is a message.');

if($Email->send_email())
{
    echo "Email Sent!";
}

Initial URL

                                

Initial Description
Just a simple script showing how to make calls to an Email script.

Initial Title
Call to Email Class

Initial Tags
email, class

Initial Language
PHP