yiisoft/yii-swiftmailer

This package is abandoned and no longer maintained. The author suggests using the yiisoft/mailer package instead.

Yii Framework Swift Mailer Extension

dev-master / 3.0.x-dev 2019-07-20 20:07 UTC

README

68747470733a2f2f73776966746d61696c65722e73796d666f6e792e636f6d2f696d616765732f6c6f676f2e706e67

Yii Framework Swift Mailer Extension


This library is a Mailer implementation that provides a SwiftMailer mail solution for Yii framework.

For license information check the LICENSE-file.

Latest Stable Version Total Downloads Build Status Scrutinizer Code Quality Code Coverage

Installation

The preferred way to install this library is through composer.

php composer.phar require --prefer-dist yiisoft/mailer-swiftmailer

Usage

$mailer->compose('contact/html')
    ->setFrom('from@domain.com')
    ->setTo('to@domain.com')
    ->setSubject($subject)
    ->send();