Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Yii Mailer 6.1

Feb 27, 2026

Yii Mailer version 6.1.0 was released. In this version:

  • Add debug collector
  • Explicitly import classes, functions, and constants in "use" section
  • Remove unnecessary files from Composer package
  • Add PHP 8.5 support

Yii Mailer 6 + Yii Mailer Symfony 4

Oct 18, 2024

Major versions of Yii Mailer and Yii Mailer Symfony Mailer packages were tagged.

The Yii Mailer abstraction for sending emails has been significantly reworked.

Now, the package yiisoft/mailer is independent of any other dependencies and essentially consists of two interfaces: MessageInterface (a message with methods for setting/getting values) and MailerInterface (a service for sending messages with two methods: send() and sendMultiple()).

Read more

Yii Mailer Library 5.1

Jul 2, 2024

Minor version of Yii Mailer Library was tagged. There are some improvements and fixes:

  • allowed to set default "from" value in MessageFactory;
  • raised minimal PHP version to ^8.1;
  • raised required yiisoft/view version to ^10.0.

Yii 2 Symfony mailer extension 4.0

Jan 29, 2024

Major version of Yii 2 Symfony mailer extension package was tagged.

In this version:

  • Add option to create transport from DSN object.
  • Add a security notice about the DSN.
  • If yiisoft/yii2-psr-log-source is available, the extension now wirtes logs.
  • Remove unnecessary dependency on the Symfony mailer class.

Read more

Yii Mailer Symfony Mailer 3.0

Feb 16, 2023

Major version of Yii Mailer Symfony Mailer package was tagged.

In this version configuration group names adapted to Yii conventions.

Yii Mailer Symfony Mailer 2.1.0

Jan 9, 2023

Minor version of Yii Mailer Symfony Mailer package was tagged. In this version, we raised the minimum version of PHP to ^8.0 and yiisoft/mailer to ^5.0, and explicitly added transitive dependencies psr/event-dispatcher and symfony/mime.

Symfony mailer extension 2.0.3 released

Feb 10, 2022

We are very pleased to announce the release of Symfony mailer extension version 2.0.3.

This version removed "final" modifier from Mailer and Message classes. While finalizing classes has its benefits, Yii2 is not ready for it unlike Yii3.

Details are available in CHANGELOG.

Symfony mailer extension 2.0.2 released

Feb 3, 2022

We are very pleased to announce the release of Symfony mailer extension version 2.0.2.

This version fixes a number of bugs found since first release. Details are available in CHANGELOG.

Symfony mailer extension 2.0.0 released

Dec 30, 2021

We are very pleased to announce the release of Symfony mailer extension version 2.0.0.

Since Swiftmailer is not supported anymore, we encourage everyone to switch to new mailer adapter:

  1. Install yiisoft/yii2-symfonymailer.
  2. Adjust configuration.
  3. Remove yiisoft/yii2-swiftmailer.

Symfony Mailer 1.0.0

Oct 17, 2021

Symfony Mailer adapter for yiisoft/mailer was tagged stable.

It is relying on symfony/mailer to send emails and is recommended as replacement for now deprecated SwiftMailer.

As usual, it has 100% unit test coverage with 100% mutation score, and 100% type coverage checked with Psalm.

Mailer 3.0.0, SwiftMailer 3.0.0, and Email Log Target 3.0.0

Aug 25, 2021

Mailer package version 3.0.0 was tagged. This version expands Yiisoft\Mailer\MessageInterface adding the following methods:

  • getDate() - Returns the date when the message was sent, or null if it was not set.
  • withDate() - Returns a new instance with the specified date when the message was sent.
  • getPriority() - Returns the priority of this message.
  • withPriority() - Returns a new instance with the specified priority of this message.

Read more

Mailer 1.0.0 and SwiftMailer 1.0.0

Jul 5, 2021

First releases of mailer package and its SwiftMailer adapter were released.

The mailer package provides the content composition functionality, and a basic interface for sending emails. Actual mail sending is provided by separate interchangeable packages.

The following code can be used to send an email:

Read more

Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (48)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 387
  • extensions 233
  • release 109
  • yii2 74
  • debug 30
  • view 28
  • html 25
  • auth client 23
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)