ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Composer: Add `phpmailer/phpmailer` for ILIAS 12

Open fhelfer opened this issue 1 month ago • 1 comments

This PR suggests adding phpmailer/phpmailer (v. 7.0) as composer dependency.

General Information:

  • [X] this dependency was already used in ILIAS.
  • [X] License: LGPL-2.1

Usage:

  • components/ILIAS/Mail

Wrapped By:

  • \ilMailMimeTransportBase

Reasoning:

  • PHPMailer is a de facto standard for sending emails with PHP. It supports multiple transport channels as SMTP, mail or sendmail. Furthermore, it supports multiple authentication methods and provides proper APIs for attachment handling (and multipart handling in general), encoding and encryption.
  • We should not/do not want to reinvent the wheel in ILIAS and should rely on this library crafted by these email standard specialists.

Maintenance:

  • PHPMailer is actively maintained by multiple contributors. There is recent activity (few days ago, see: https://github.com/PHPMailer/PHPMailer/commits/master).
  • Security issues are always fixed in a timely manner followed by new releases.

Links:

  • Packagist: https://packagist.org/packages/phpmailer/phpmailer
  • GitHub: https://github.com/PHPMailer/PHPMailer
  • Documentation: https://github.com/PHPMailer/PHPMailer/wiki / https://github.com/PHPMailer/PHPMailer/tree/master/docs / https://phpmailer.github.io/PHPMailer/

fhelfer avatar Nov 28 '25 13:11 fhelfer

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

matthiaskunkel avatar Dec 08 '25 13:12 matthiaskunkel