Registry / utility / yiisoft-yii2-swiftmailer

yiisoft-yii2-swiftmailer

JSON →
library2.1.3phppackagistunverified

The SwiftMailer integration for the Yii framework.

composer require yiisoft/yii2-swiftmailer
INSTALL
IMPORT
SIG · YIISOFT-YII2-SWIFT
Y
yiisoft-yii2-swiftmailer
utilityphpv2.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mailer
use yii\swiftmailer\Mailer;

Send an email using Yii2 SwiftMailer.

use yii\swiftmailer\Mailer; $mailer = new Mailer(); $mailer->compose() ->setTo('user@example.com') ->setSubject('Test') ->setTextBody('Hello!') ->send();
Debug
Known issues
breakingSwiftMailer is no longer maintained; consider using Symfony Mailer or another library.
fix
Migrate to symfony/mailer or yiisoft/yii2-symfonymailer.
affects: >=2.0.0
Upgrade
Version history
2.1.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
yiisoft-yii2-swiftmailer — pip install yiisoft-yii2-swiftmailer · libregistry