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

Log Full SMTP Debug Info on Send Failure

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      When an e-mail cannot be sent due to SMTP connection failure, the logstore_standard_log database table only receives "SMTP connect() failed."  Extend the Debugoutput with a function which captures to a global which is then appended to ErrorInfo when creating the email_failed event.  This is useful for separating a problem caused by security software on the server from a problem with the network connectivity or actual SMTP server.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mhenry79 Mike Henry
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: