2017 © Pedro Peláez
 

library adv-email

Forked from geekMail to add extra features. A standalone version of the CodeIgniter PHP Framework's Email library

image

mattclements/adv-email

Forked from geekMail to add extra features. A standalone version of the CodeIgniter PHP Framework's Email library

  • Thursday, October 8, 2015
  • by mattclements
  • Repository
  • 2 Watchers
  • 3 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

advEmail

Forked from geekMail to add extra features A standalone version of the CodeIgniter PHP Framework's Email library, (*1)

  • Version 1.0

This class is a standalone version of the Email library used in the CodeIgniter PHP Framework:, (*2)

  • http://codeigniter.com/

Most of the existing CodeIgniter documentation for the library should work, with the exception that the library won't be dynamically loaded from a CodeIgniter controller ($this->load->... and "=$this->email->from...):, (*3)

  • http://codeigniter.com/user_guide/libraries/email.html

Usage example:

<?php

require 'advEmail.php';

$advEmail = new advEmail();

$advEmail->setMailType('html');

$advEmail->from('noreply@mattclements.co.uk', 'Matt Clements');

$advEmail->to('matt@mattclements.co.uk');
//$advEmail->cc('matt@mattclements.co.uk');
//$advEmail->bcc('matt@mattclements.co.uk');

$advEmail->subject('Example subject');

$advEmail->message('Example message.');
$advEmail->set_alt_message('Text alternative email - manually set');

$advEmail->attach('/home/matt/file1.txt');
$advEmail->attach('/home/matt/file2.zip');

if (!$advEmail->send())
{
    $errors = $advEmail->getDebugger();
    print_r($errors);
}

Adapted by: Matt Clements matt@mattclements.co.uk http://www.mattclements.co.uk, (*4)

GeekMail developed by: Willem van Zyl willem@geekology.co.za http://www.geekology.co.za/blog/, (*5)


As with CodeIgniter itself, this code is free and Open Source, but EllisLab, Inc. (the creators of CodeIgniter) require that this license agreement be included in all adaptations:, (*6)

http://codeigniter.com/user_guide/license.html

The Versions

08/10 2015

dev-master

9999999-dev https://github.com/mattclements/advEmail

Forked from geekMail to add extra features. A standalone version of the CodeIgniter PHP Framework's Email library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

email codeigniter advemail geekmail

08/10 2015

dev-2.0-dev

dev-2.0-dev https://github.com/mattclements/advEmail

Forked from geekMail to add extra features. A standalone version of the CodeIgniter PHP Framework's Email library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

email codeigniter advemail geekmail