2017 © Pedro Peláez
 

library laravel-elastic-email

Package for send emails with attachments via elastic email driver

image

rdanusha/laravel-elastic-email

Package for send emails with attachments via elastic email driver

  • Sunday, January 7, 2018
  • by rdanusha
  • Repository
  • 3 Watchers
  • 6 Stars
  • 1,212 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 3 Open issues
  • 5 Versions
  • 71 % Grown

The README.md

Laravel Elastic Email

A Laravel wrapper for Elastic Email, (*1)

Can send emails with multiple attachments, (*2)

IMPORTANT

Laravel version

5.5 or older - Use Version 1.1.1, (*3)

5.6 and forwards - Use version 1.2, (*4)

Installation

  • Step 1

Install package via composer, (*5)

composer require rdanusha/laravel-elastic-email
  • Step 2

Add this code to .env file, (*6)

ELASTIC_ACCOUNT=<Add your account>
ELASTIC_KEY=<Add your key>
  • Step 3

Update MAIL_DRIVER value as 'elastic_email' in your .env file, (*7)

MAIL_DRIVER=elastic_email
  • Step 4

Add this code to your config/services.php file, (*8)

'elastic_email' => [
    'key' => env('ELASTIC_KEY'),
    'account' => env('ELASTIC_ACCOUNT')
]
  • Step 5

Open config/app.php file and go to providers array, Then comment out Laravel's default MailServiceProvider and add the following, (*9)

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
//    Illuminate\Mail\MailServiceProvider::class,
    Rdanusha\LaravelElasticEmail\LaravelElasticEmailServiceProvider::class,
    ...
],

Usage

This package works exactly like Laravel's native mailers. Refer to Laravel's Mail documentation., (*10)

https://laravel.com/docs/5.5/mail, (*11)

Code Example

Mail::to($request->user())->send(new OrderShipped($order));

The Versions

07/01 2018

dev-master

9999999-dev

Package for send emails with attachments via elastic email driver

  Sources   Download

MIT

The Requires

 

by Anusha Priyamal

laravel email elastic email

07/01 2018

v1.1.2

1.1.2.0

Package for send emails with attachments via elastic email driver

  Sources   Download

MIT

The Requires

 

by Anusha Priyamal

laravel email elastic email

26/12 2017

v1.1.1

1.1.1.0

Package for send emails with attachments via elastic email driver

  Sources   Download

MIT

The Requires

 

by Anusha Priyamal

laravel email elastic email

27/11 2017

v1.1.0

1.1.0.0

Package for send emails with attachments via elastic email driver

  Sources   Download

MIT

The Requires

 

by Anusha Priyamal

laravel email elastic email

31/08 2017

v1.0

1.0.0.0

Package for send emails with attachments via elastic email driver

  Sources   Download

MIT

The Requires

 

by Anusha Priyamal

laravel email elastic email