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

Add List-Unsubscribe to forum email header

    XMLWordPrintable

Details

    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-52969-email-unsubscribe
    • Hide

      Grab an email client which supports the List-Subscribe header. The real target here is gmail but it is a lot harder to test as other conditions need to be met which are not moodle code related, ie DKIM support on the MTA that also has a positive reputation.

      So just to test the headers themselves grab thunderbird and install this plugin:

      https://addons.mozilla.org/En-us/thunderbird/addon/unsubscribe-from-mailing-list/

      Fire off a forum email, and you should see a new button which takes you directly to the discussion unsub page, the same as clicking on it in the footer.

      Show
      Grab an email client which supports the List-Subscribe header. The real target here is gmail but it is a lot harder to test as other conditions need to be met which are not moodle code related, ie DKIM support on the MTA that also has a positive reputation. So just to test the headers themselves grab thunderbird and install this plugin: https://addons.mozilla.org/En-us/thunderbird/addon/unsubscribe-from-mailing-list/ Fire off a forum email, and you should see a new button which takes you directly to the discussion unsub page, the same as clicking on it in the footer.

    Description

      The rational for this is outlined here and in many other places around email best practice:

      http://www.list-unsubscribe.com/

      ie if a user doesn't want to receive emails it should be very clear and simple to unsubscribe or else they may be more likely to hit the spam button and reduce the reputation of the whole system.

      Many email clients such as gmail surface unsubscribe links in the email title bar if the correct headers are set and other conditions (like the sending server must DKIM sign the email and its reputation must be high). Additionally if the user hits the spam button they are instead asked if they want to unsubscribe instead, saving a potential reputation hit.

      The forum emails in particular already have unsubscribe links inside the email body, but they don't set the correct headers.

      Attachments

        Issue Links

          Activity

            People

              brendanheywood Brendan Heywood
              brendanheywood Brendan Heywood
              Andrew Lyons Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ryan Wyllie Ryan Wyllie
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                23/May/16