Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84155

Upgrade PHPMailer to 6.9.3

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-84155_upgrade-PHPMailer-to-6-9-3
    • Hide

      (Copied from MDL-79664 and extended a bit)

      Setup outgoing E-Mail

      1. For easier testing setup Mailpit (or Mailcatcher, MailHog, ...)

        docker run -d -e MP_SMTP_AUTH_ACCEPT_ANY=true --name=mailpit -p 8025:8025 -p 1025:1025 axllent/mailpit

      2. You can find all test mails in the web interface at localhost:8025
      3. As an admin, go to Site Administration > Server > Email > Outgoing mail configuration
      4. With the above Mailpit running set the following fields:
        • SMTP hosts: "localhost:1025"
        • SMTP username: "username"
        • SMTP password: "password"
        • No-reply address: "noreply@moodle.com"

      Test third-party libraries

      1. As an admin, go to Site Administration > Development > Third-party libraries.
      2. Verify that the library "PHPMailer" is at version 6.9.3.

      Test outgoing Mailing

      1. Create some users
      2. Do some actions that result in the sending of emails to the users:
        • Forgot password
        • Forum notifications (use an announcements forum)
        • Messaging
      3. Confirm emails are received by the intended recipients
      Show
      ( Copied from MDL-79664 and extended a bit ) Setup outgoing E-Mail For easier testing setup Mailpit (or Mailcatcher, MailHog, ...) docker run -d -e MP_SMTP_AUTH_ACCEPT_ANY= true --name=mailpit -p 8025:8025 -p 1025:1025 axllent /mailpit You can find all test mails in the web interface at localhost:8025 As an admin, go to Site Administration > Server > Email > Outgoing mail configuration With the above Mailpit running set the following fields: SMTP hosts: "localhost:1025" SMTP username : "username" SMTP password : "password" No-reply address : "noreply@moodle.com" Test third-party libraries As an admin, go to Site Administration > Development > Third-party libraries. Verify that the library "PHPMailer" is at version 6.9.3. Test outgoing Mailing Create some users Do some actions that result in the sending of emails to the users: Forgot password Forum notifications (use an announcements forum) Messaging Confirm emails are received by the intended recipients
    • Hide

      Code verified against automated checks.

      Checked MDL-84155 using repository: https://github.com/ziegenberg/moodle

      More information about this report

      Built on: Tue Mar 4 18:40:57 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84155 using repository: https://github.com/ziegenberg/moodle main (0 errors / 0 warnings) [branch: MDL-84155_upgrade-PHPMailer-to-6-9-3 | CI Job ] More information about this report Built on: Tue Mar 4 18:40:57 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-84155 _upgrade-PHPMailer-to-6-9-3 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18176/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62086/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62087/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62088/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62089/ App tests (stable app version) Built on: Thu Feb 6 12:26:31 UTC 2025

      PHPMailer lib/phpmailer/ 6.9.1 --> 6.9.3 https://github.com/PHPMailer/PHPMailer/

            Daniel Ziegenberg Daniel Ziegenberg
            sarjona Sara Arjona (@sarjona)
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.