Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-12171

CLONE - Check connection to SMTP mail works

    XMLWordPrintable

    Details

      Description

      This test requires administrator access and access to an SMTP server supporting TLS, even if TLS is mis-configured i.e. not ready for production.

      1. Log in as an administrator
      2. Enable SMTP debugging or install https://moodle.org/plugins/local_mailtest
      3. Configure SMTP settings to use the SMTP server above w/o requiring TLS i.e. do not leave smtphosts empty and set smtpsecure to None
      4. Send a test email and look at the debug output. It should tell you about the TLS being available e.g.:

                                                 250-SIZE 52428800
                                                 250-8BITMIME
                                                 250-PIPELINING
                                                 250-AUTH PLAIN LOGIN
                                            -->  250-STARTTLS <--
                                                 250 HELP
        

        but you should not read about the client asking for TLS i.e. the debug output is missing:

        YYYY-MM-DD hh:mm:ss    CLIENT -> SERVER: STARTTLS
        

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: