2017 © Pedro Peláez
 

library mailer

CIT Mailer class an extension from the laravels default mailer class.

image

citco/mailer

CIT Mailer class an extension from the laravels default mailer class.

  • Wednesday, July 5, 2017
  • by citco
  • Repository
  • 4 Watchers
  • 3 Stars
  • 111 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Citco Mailer : Better tracking of mails sent with Laravel's Mailer

Citco Mailer is developed by Creative Investments Technologies as an extension to Mailer package provided by Laravel framework, (*1)

About

Citco Mailer adds some unique features to original Mailer provided by Laravel framework. These features include:, (*2)

  • Adding custom headers to outgoing mails for better tracking of bounced mails
  • Log all outgoing mails by auto forwarding them to a special log email address
  • More help on email tracking by generating a reply-path alias for each receiver, based on receiver's email address

Installation

Composer

From the Command Line:, (*3)

composer require citco/mailer:dev-master

In your composer.json:, (*4)

``` json { "require": { "citco/mailer": "dev-master" } }, (*5)

After updating composer, add the MailerServiceProvider to the providers array in app/config/app.php
```php
    'Citco\Mailer\MailerServiceProvider',

You also need to publish configurations for this package by executing this artisan command:, (*6)

php artisan config:publish citco/mailer

This makes configuration options available in app/config/packages/citco/mailer/config.php .
These configuration include:
site.id: Used to set X-Site-ID header parameter in sent mails. noreply.address and noreply.name: Address and name used as sender to send emails from.
log.enabled: If set to true, a copy of all outgoing emails will also be sent to a special log.address.
log.address and log.name: Log email address and name, used to send all outgoing mails if log.enabled is set to true.
dev.address and dev.name: Address and name of development mail account. This is useful while developing your application. If the application is running on local or dev environment (detected by Laravel environment detection mechanism) then all outgoing mails will be sent to this special address regardless of what address is passed to Mailer as recipient.
return.path: Return path of sent mails. All bounce reports will be delivered to an alias of this address., (*7)

Basic Usage

Before using Citco Mailer you should edit src/config/config.php wich includes some configuration variables. After editing this file, when using Citco Mailer for outgoing email messages, it will add information needed for tracking to the message., (*8)

License

Citco Mailer is open source software licensed under the MIT license, (*9)

Copyright Creative Investments Technologies, (*10)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*11)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*12)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*13)

The Versions

05/07 2017

dev-master

9999999-dev

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir

08/12 2015

2.0.0

2.0.0.0

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir

12/05 2015

1.1.0.x-dev

1.1.0.9999999-dev

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir

12/05 2015

1.1.0

1.1.0.0

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir

10/11 2014

1.0.0.x-dev

1.0.0.9999999-dev

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir

10/11 2014

v1.0.0

1.0.0.0

CIT Mailer class an extension from the laravels default mailer class.

  Sources   Download

The Requires

 

by Amir