2017 © Pedro Peláez
 

silverstripe-module abc-silverstripe-mailer

Library that adds smtp mail support to Silverstripe

image

azt3k/abc-silverstripe-mailer

Library that adds smtp mail support to Silverstripe

  • Thursday, February 1, 2018
  • by azt3k
  • Repository
  • 3 Watchers
  • 14 Stars
  • 17,571 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 8 Open issues
  • 16 Versions
  • 5 % Grown

The README.md

Build Status, (*1)

Setup

Add the following to you composer.json file:, (*2)

"require": {
    "azt3k/abc-silverstripe-mailer" : "*@stable"
}

Add something like the following your mysite/_config.php file:, (*3)

SmtpMailer::set_conf(array(
    'default_from'      => array(
                               'name'  => 'admin',
                               'email' => 'admin@localhost'
                           ),
    'charset_encoding'  => 'utf-8',
    'server'            => 'localhost',
    'port'              => 25,
    'secure'            => null,
    'authenticate'      => false,
    'user'              => 'username',
    'pass'              => 'password',
    'debug'             => 0,
    'lang'              => 'en'
));

or, (*4)

SmtpMailer::set_conf(array(
    'default_from'      => array(
                               'name'  => 'user',
                               'email' => 'user@gmail.com'
                           ),
    'charset_encoding'  => 'utf-8',
    'server'            => 'smtp.gmail.com',
    'port'              => 587,
    'secure'            => 'tls',
    'authenticate'      => true,
    'user'              => 'user@gmail.com',
    'pass'              => 'password',
    'debug'             => 0,
    'lang'              => 'en'
));

Alternatively insert the configuration into your project/_config/config.yml file, (*5)

SmtpMailer:
  conf:
    default_from:
      name: user
      email: user@gmail.com
    charset_encoding: utf-8
    server: smtp.gmail.com
    port: 587
    secure: tls
    authenticate: true
    user: user@gmail.com
    pass: password'
    debug: 0
    lang: en

License

Copyright (c) 2018 Aaron Latham-Ilari, (*6)

All rights reserved., (*7)

Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:, (*8)

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of [Owner Organization] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE., (*9)

The Versions

01/02 2018

dev-master

9999999-dev

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD BSD-3-Clause-Clear

The Requires

 

The Development Requires

by Aaron Latham-Ilari

01/02 2018

0.6.1

0.6.1.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD-3-Clause-Clear

The Requires

 

The Development Requires

by Aaron Latham-Ilari

31/01 2018

0.6.0

0.6.0.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

31/01 2018

0.5.2

0.5.2.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

10/05 2017

0.5.1

0.5.1.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

11/12 2015

0.5.0

0.5.0.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

01/12 2015

0.4.4

0.4.4.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

01/12 2015

0.4.3

0.4.3.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

01/12 2015

0.4.2

0.4.2.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

28/11 2015

0.4.1

0.4.1.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

25/11 2015

0.4.0

0.4.0.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

17/11 2015

0.2.0

0.2.0.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

02/06 2015

0.1.2

0.1.2.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

03/03 2015

0.1.1

0.1.1.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

03/03 2015

dev-travis

dev-travis

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

The Development Requires

by Aaron Latham-Ilari

26/02 2015

0.1.0

0.1.0.0

Library that adds smtp mail support to Silverstripe

  Sources   Download

BSD

The Requires

 

by Aaron Latham-Ilari