2017 © Pedro Peláez
 

library laravel-elastic-email

Package for send emails with attachments via elastic email driver

image

vibrant/laravel-elastic-email

Package for send emails with attachments via elastic email driver

  • Thursday, November 16, 2017
  • by Edgar Escudero
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel Elastic Email

A Laravel wrapper for Elastic Email, (*1)

Can send emails with multiple attachments, (*2)

Installation

  • Step 1

Install package via composer, (*3)

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

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

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

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

MAIL_DRIVER=elastic_email
  • Step 4

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

'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, (*7)

'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., (*8)

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

Code Example

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

The Versions

16/11 2017

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

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