2017 © Pedro Peláez
 

library zf-mail-config

Simple module providing transport configuration in config files

image

xelax90/zf-mail-config

Simple module providing transport configuration in config files

  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Mail configuration

This module provides a simple factory for mail transports that reads the configuration from the application config., (*1)

Installation

Installation of XelaxMailConfig uses composer. For composer documentation, please refer to getcomposer.org., (*2)

composer require xelax90/zf-mail-config

Then add XelaxUserNotification to your config/application.config.php., (*3)

Now copy the provided configuration files vendor/xelax90/zf-mail-config/config/xelax-mail-config.global.php and vendor/xelax90/zf-mail-config/config/xelax-mail-config.local.php.dist into your config/autoload directory. Also make another copy of the xelax-mail-config.local.php.dist file without the .dist extension., (*4)

Configuration

For configuration of the transport please refer to the zend-mail documentation. The provided configuration is directly passed to the Zend\Mail\Transport\Factory factory., (*5)

Retrieving a TransportInterface instance

This module registers a factory for the Zend\Mail\Transport\TransportInterface class. To retrieve an instance from the service manager simply call, (*6)

$transport = $container->get(Zend\Mail\Transport\TransportInterface::class);, (*7)

The Versions

26/12 2016

dev-master

9999999-dev

Simple module providing transport configuration in config files

  Sources   Download

GPLv2

The Requires

 

by Aleksandr

26/12 2016

1.0.1

1.0.1.0

Simple module providing transport configuration in config files

  Sources   Download

GPLv2

The Requires

 

by Aleksandr

26/12 2016

1.0

1.0.0.0

Simple module providing transport configuration in config files

  Sources   Download

GPLv2

The Requires

 

by Aleksandr