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

Test Email Button in Mail Settings

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7
    • 1.9, 3.1, 3.7
    • Administration
    • LAMP
    • MOODLE_19_STABLE, MOODLE_31_STABLE, MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-13745-master-nosetting
    • Hide

      cli scripts

      Show
      cli scripts
    • Hide

      Prerequisites

      1. Set-up mailcatcher (https://mailcatcher.me/).
      2. Log in as an admin.
      3. Visit ‘Site administration’ > ‘Server’ > ‘Outgoing mail configuration’.
      4. Set the 'SMTP hosts' field to '127.0.0.1:1025'.
      5. Save.
      6. Visit ‘Site administration’ > ‘Plugins’ > ‘Manage authentication’.
      7. Enable ‘Email-based self-registration'.
      8. Set 'Self registration' to 'Email-based self-registration'.
      9. Save.
      10. Log out.
      11. Visit 'http://127.0.0.1:1080/' to view outgoing emails and stay on this page for the remainder of this test. When any of the below instructions mention check your email it means refer to this page.

      Testing

      1. Go to Site administration > Server > Email >Outgoing mail configuration.
      2. Confirm that you see the Test outgoing mail configuration section at the bottom of the page.
      3. Save the configuration.
      4. Follow the Test outgoing mail configuration link at the bottom of the page.
      5. Set To email address text field to the address where you want to send the mail test.
      6. Press Send a test message button.
      7. A notification will show the result of the test.
        • If you are using mailcatcher with the suggested SMTP or a valid outgoing mail configuration:
          • Confirm the notification background is green, so the email was successfully sent.
        • If you are using a wrong SMTP servers configuration:
          • Confirm the notification background is red, so the email couldn't be sent.
      Show
      Prerequisites Set-up mailcatcher ( https://mailcatcher.me/ ). Log in as an admin. Visit ‘Site administration’ > ‘Server’ > ‘Outgoing mail configuration’. Set the 'SMTP hosts' field to '127.0.0.1:1025'. Save. Visit ‘Site administration’ > ‘Plugins’ > ‘Manage authentication’. Enable ‘Email-based self-registration'. Set 'Self registration' to 'Email-based self-registration'. Save. Log out. Visit 'http://127.0.0.1:1080/' to view outgoing emails and stay on this page for the remainder of this test. When any of the below instructions mention check your email it means refer to this page. Testing Go to Site administration > Server > Email >Outgoing mail configuration . Confirm that you see the Test outgoing mail configuration section at the bottom of the page. Save the configuration. Follow the Test outgoing mail configuration link at the bottom of the page. Set To email address text field to the address where you want to send the mail test. Press Send a test message button. A notification will show the result of the test. If you are using mailcatcher with the suggested SMTP or a valid outgoing mail configuration: Confirm the notification background is green, so the email was successfully sent. If you are using a wrong SMTP servers configuration: Confirm the notification background is red, so the email couldn't be sent.

      Hello,

      Would it be all possible to add an email test button to the mail settings page. This would greatly improve efficiency, and give administrators a way to quickly test their settings in mail. Rather than creating a forum post, and going to the cron page manually.

      Cheers,

      Brent.

        1. TestResult.png
          TestResult.png
          84 kB
        2. testPage.png
          testPage.png
          64 kB
        3. testLocation.png
          testLocation.png
          185 kB
        4. successfulTest.png
          successfulTest.png
          56 kB
        5. Screenshot from 2019-03-12 08-56-54.png
          Screenshot from 2019-03-12 08-56-54.png
          7 kB
        6. OutgoingMail Configuration.png
          OutgoingMail Configuration.png
          182 kB
        7. image-2019-03-13-08-06-54-304.png
          image-2019-03-13-08-06-54-304.png
          175 kB
        8. failedTest.png
          failedTest.png
          88 kB

            vmdef Victor Déniz Falcón
            leebrent Brent Lee (Inactive)
            Mark Nelson Mark Nelson
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            22 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 10 minutes
                3h 10m

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