2017 © Pedro Peláez
 

library email

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

image

jaeger-app/email

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

  • Friday, July 8, 2016
  • by mithra62
  • Repository
  • 1 Watchers
  • 0 Stars
  • 117 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Jaeger Email Object

Build Status Scrutinizer Code Quality Author GitHub license, (*1)

JaegerApp\Email is an email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available). Note that the Email object does NOT include any version of SwiftMailer and relies on the host system to provide one., (*2)

On top of that, JaegerApp\Email works with the JaegerApp\Language (for copy abstraction), and JaegerApp\View (for templating of email messages) using the Mustache templating language., (*3)

Installation

Add jaeger-app/email as a requirement to your composer.json:, (*4)

$ composer require jaeger-app/email

Send Email

At its purest, sending an email using JaegerApp\Email looks like the below (albeit not 100%):, (*5)

$vars = array('variable1' => 'Variable1');
$email->setSubject($subject)
    ->setMessage($message_template)
    ->setTo($emails)
    ->addAttachment($file)
    ->setMailtype('html');
$email->send($vars);

The Versions

08/07 2016

dev-master

9999999-dev

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eric Lamb

08/07 2016

0.1.2

0.1.2.0

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eric Lamb

05/07 2016

0.1.1

0.1.1.0

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eric Lamb

20/04 2016

0.1

0.1.0.0

An email abstraction that works with both SwiftMailer 3 and 5 (depending on which is already available).

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eric Lamb