Download the PHP package eseperio/yii2-email-accounts-manager without Composer

On this page you can find all versions of the php package eseperio/yii2-email-accounts-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-email-accounts-manager

yii2-email-accounts-manager

Use and manage different email accounts under the same project. Features methods to live test the configuration and ensure it is correct.

Features

Installation

The preferred way to install this extension is through composer.

composer require eseperio/yii2-email-accounts-manager

ext-simplexml is required for autodiscover feature, but has not been required within composer.json so you can use the library without autodiscover

Add the migration path to your console config:

Add the module to your app modules configuration

Usage

Important: This module will replace the current transport for the mailer defined and it does not restore to previous value. 
If you want to prevent this use a different mailer component for this module.

This module includes methods for checking whether the email account is valid and for sending emails using the given configuration.

The EmailAccount model includes useful methods, like getTransport() and setAsMainTransport().

getTransport() returns the transport configuration based on configuration defined within module and the account itself.

setAsMainTransport() will set the transport configuration for the mailer component defined in the module configuration and will return the mailer instance. compose($view='',$params=[]) will return a new message instance preconfigured with the transport configuration for the account and also setFrom defined with the account address.

Sending an email from a custom account


All versions of yii2-email-accounts-manager with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ^2.0.14
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eseperio/yii2-email-accounts-manager contains the following files

Loading the files please wait ....