Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the first Beta for the 2.x branch and is recommended for use on live sites after testing on a dev site. Sites are recommended to upgrade to benefit from many important bug fixes and new features, plus compatibility with Drupal 9. The 1.x branch will soon become unsupported as it uses an unsupported version of the Swift Mailer library.
This release has some non-back-compatible changes compared with 1.x, please see the change record. However these are mild and many sites should be able to upgrade without any difficulty. There should be no further non-back-compatible changes after this release.
Known issues
#3154213: Error if no suitable text formats to convert to HTML
Contributors (45)
AdamPS, PhilippVerpoort, geek-merlin, Berdir, tucho, hansfn, heddn, jncruces, agoradesign, ayalon, crasx, bonus, andyg5000, FMB, pjbaert, bohart, dimr, zengenuity, TommyChris, Stefdewa, christian-heiko, Anybody, jonathanshaw, pranav45, JeroenT, AkashkumarOSL, Jadelvalia, thalles, akshay_d, Sutharsan, noita, Vladimirrem, webflo, isaacrc, Sam152, tbradbury, hanoii, idebr, ardnet, sardara, pfrenssen, sandervd, chipway, rocksolid-psf, RoSk0
Changelog
Issues: 26 issues resolved.
Changes since 8.x-1.0-beta2:
Bug
- #2998381 by geek-merlin, tucho: Allow the use of Streams for attached files
- #3122389 by AdamPS, geek-merlin, Berdir, hansfn, heddn: Bugs with format conversion
- #2965564 by ayalon, crasx, geek-merlin, AdamPS: Embedded images don't work on 32-bit systems
- #3057200 by AdamPS, jonathanshaw: Duplicate error message
- #3122293 by pranav45: Update readme file
- #2937293 by noita, Vladimirrem, webflo, isaacrc: Fix encoding of plain text mails
- #3021559 by webflo, zengenuity: Plain text version overwritten if provided
- #2641772 by Berdir, hanoii, AdamPS, webflo: From header is dropped, incompatiblity with Simplenews
- #2952437 by idebr, ardnet, webflo: Unit Testing is failing on testMassageMessageBody()
Feature
- #2948343 by AdamPS, jncruces, agoradesign: Change private methods to protected in SwiftMailer class
- #2843327 by AdamPS, heddn, andyg5000, FMB, pjbaert, bohart, dimr, zengenuity, TommyChris, Stefdewa, christian-heiko, Anybody, geek-merlin: Load CSS from a theme with CSS inlining
- #3021958 by webflo: Clenaup mail key for the usage in theme suggestions
Task
- #3126935 by AdamPS, PhilippVerpoort, geek-merlin: Improvements to plaintext conversion
- #3125041 by AdamPS, geek-merlin, Berdir: Clarify and simplify message settings
- #3124110 by AdamPS: Fix/improve the tests for SwiftMailer::format (real mail tests)
- #3121286 by bonus, geek-merlin: Use semver for all dependencies
- #3093209 by JeroenT, AkashkumarOSL, Berdir: Convert simpletest to PHPUnit test
- #3096960 by Berdir, AkashkumarOSL, Jadelvalia, AdamPS: Drupal 9 deprecated code report
- #3029283 by thalles, akshay_d: Use short array
- #3036189 by Sutharsan: Call email validation less often
- #2930358 by bonus, heddn, Sam152, webflo, Berdir: Update to Swift Mailer 6.x, remove support for native transport method
- #3024793 by tbradbury: Remove usage of Unicode::* methods
- #3000546 by sardara, pfrenssen, sandervd: Move setup of swiftmailer transport object into a factory
- #2983846 by chipway: Apply new {project}:{module} format for dependencies in info.yml
- #3026768 by rocksolid-psf: Use Drupal::messenger instead of drupal_set_message
- #2971203 by RoSk0: Fix documentation URL