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

Upgrade PHPMailer for Moodle 3.4 release

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Testing instructions stolen from MDL-57573, but don't worry, I did read through them and they are still spot on.

      1. Setup email in your moodle instance (There are instructions on the Moodle Google docs for a docker instance of a mail server).
      2. Create some users with valid emails
      3. Do some actions that results in sending of emails (forgotten password, send message, etc.)
      4. Verify emails are received at the accounts specified in 2.

      Tip: if it fails, you can use email debugging to get messages from PHPMailer.

      • Please also check the third party library list at [Site administration ► Development  ► Third party libraries] to ensure that the version number is correct.
      Show
      Testing instructions stolen from MDL-57573 , but don't worry, I did read through them and they are still spot on. Setup email in your moodle instance (There are instructions on the Moodle Google docs for a docker instance of a mail server). Create some users with valid emails Do some actions that results in sending of emails (forgotten password, send message, etc.) Verify emails are received at the accounts specified in 2. Tip: if it fails, you can use email debugging to get messages from PHPMailer. Please also check the third party library list at [Site administration ► Development  ► Third party libraries]  to ensure that the version number is correct.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-60194-master
    • Sprint:
      3.4 Sprint 5

      Description

      We currently have 5.2.23
      Latest versions available on https://github.com/PHPMailer/PHPMailer/releases are:
      5.2.25 and 6.0.1

      For 6.0 it says

      This is a major update that breaks backwards compatibility. For information about what's changed, refer to the changelog and README files.

      The most important changes are that PHPMailer now defines a namespace (PHPMailer\PHPMailer), and requires a minimum of PHP 5.5. To find out more about how to upgrade, read the upgrade guide.

      Investigate if we can upgrade to 6.0.x , if yes - upgrade, if no - upgrade to 5.2.23

        Attachments

          Activity

            People

            Assignee:
            abgreeve Adrian Greeve
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Jun Pataleta
            Integrator:
            Andrew Nicols
            Tester:
            Mihail Geshoski
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Nov/17