2017 © Pedro Peláez
 

yii2-extension yii2-email

Widget help send email. Have validate input email.

image

pceuropa/yii2-email

Widget help send email. Have validate input email.

  • Monday, March 13, 2017
  • by pceuropa
  • Repository
  • 1 Watchers
  • 2 Stars
  • 796 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 292 % Grown

The README.md

Email autoresponder

This extension help send emails. In this version (1.0.1) only text messsage., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

composer require pceuropa/yii2-email "*"

or add, (*4)

"pceuropa/yii2-email": "*"

to the require section of your composer.json file., (*5)

Configuration

Yii2 config file:, (*6)

'components' => [
'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',    // basic Yii2: @app/mail
            'useFileTransport' => false,
            'transport' => [
                'class' => 'Swift_SmtpTransport',
                'host' => 'smtp.gmail.com',
                'username' => 'info@gmail.com',
                'password' => 'password',
                'port' => '587',         // or 465
                'encryption' => 'tls',   // or ssl
            ]
    ],
]

Usage

Once the extension is installed, simply use it in your code by :, (*7)

use pceuropa\email\Send;

Send::widget([
        'from' => 'info@pceuropa.net',
        'to' => 'info@destiny.pl',
        'subject' => 'subject email',
        'textBody' => 'Hello Lorem Ipsum. Bye',
    ]); 

The Versions

13/03 2017

dev-master

9999999-dev

Widget help send email. Have validate input email.

  Sources   Download

MIT

The Requires

 

extension yii2 email autoresponder

13/03 2017

1.2.1

1.2.1.0

Widget help send email. Have validate input email.

  Sources   Download

MIT

The Requires

 

extension yii2 email autoresponder

12/03 2017

1.2.0

1.2.0.0

Widget help send email. Have validate input email.

  Sources   Download

MIT

The Requires

 

extension yii2 email autoresponder

27/02 2017

1.0.1

1.0.1.0

Widget help send email. Have validate input email.

  Sources   Download

MIT

The Requires

 

extension yii2 email autoresponder