2017 © Pedro Peláez
 

library fawnoemail

FawnoEmail for CakePHP 2

image

fawno/fawnoemail

FawnoEmail for CakePHP 2

  • Friday, January 6, 2017
  • by alphp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 18 % Grown

The README.md

Package at Packagist GitHub license, (*1)

FawnoEmail

Extend Cake\Mailer\Email allowing image inline in templates., (*2)

Install via composer

Since v3, CakePHP uses composer, the easiest way to set up is by either running, (*3)

  composer require fawno/fawnoemail

Usage

Whenever you need to send email, ensure this class is loaded:, (*4)

  use Fawno\Mailer\FawnoEmail;

Use the class as normal CakeEmail:, (*5)

  $email = new FawnoEmail();
  $email->to(array('example@example.com' => 'Example'));
  $email->subject('Example Email');
  $email->template('default');
  $email->send();

In template:, (*6)

  <img src="cid:/full/path/image">
  <img src="cid:///full/path/image">
  <img src="file:/full/path/image">
  <img src="file:///full/path/image">
  echo $this->Html->image('cid:///full/path/image');
  echo $this->Html->image('file:///full/path/image');

The Versions

06/01 2017

dev-CakePHP-2

dev-CakePHP-2

FawnoEmail for CakePHP 2

  Sources   Download

MIT

The Requires

 

06/01 2017

dev-CakePHP-3

dev-CakePHP-3

FawnoEmail for CakePHP 3

  Sources   Download

MIT

The Requires

 

30/10 2016

2.0.6

2.0.6.0

FawnoEmail for CakePHP 2

  Sources   Download

MIT

The Requires

 

30/10 2016

3.0.6

3.0.6.0

FawnoEmail for CakePHP 3

  Sources   Download

MIT

The Requires

 

30/10 2016

2.0.5

2.0.5.0

FawnoEmail for CakePHP 2

  Sources   Download

MIT

The Requires

 

30/10 2016

3.0.5

3.0.5.0

FawnoEmail for CakePHP 3

  Sources   Download

MIT

The Requires

 

14/10 2016

3.0.4

3.0.4.0

FawnoEmail for CakePHP 3

  Sources   Download

MIT

The Requires

 

14/10 2016

3.0.3

3.0.3.0

FawnoEmail for CakePHP 3

  Sources   Download

MIT

The Requires