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

Add app promotion text in notifications sent by email

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As admin: Enable mailcatcher, mailhog, or have e-mail configured
      2. Disable "Mobile services": Site administration ► Mobile app ► Mobile settings
      3. Create a course, enrol two users as studnets (S1 and S2) and one user as teacher (T1) with valid email addresses for at least S1 and S2 if you are not using mailcatcher or mailhog
      4. Create a forum in the course with the "Subscription mode" force to all users
      5. In the forum settings the maxeditingtime to something really low (1 minute)
      6. Access to the site with U1 and post in the forum
      7. Wait for a minute an run the cron:

        php admin/tool/task/cli/schedule_task.php --execute="\mod_forum\task\cron_task" 
        

      8. Open mailhog/mailcatcher/etc and find the e-mails
      9. Confirm that all the emails received from the site does not containg this text at the bottom of the email: "Reading this in your e-mail?....."
      10. Now, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      11. Check that the " App download page " setting in Mobile app -> Mobile appearance is correctly set
      12. Access with S1 to the site using the app
      13. Post as teacher in the forum
      14. Wait for a minute an run the cron:

        php admin/tool/task/cli/schedule_task.php --execute="\mod_forum\task\cron_task" 
        

      15. Open mailhog/mailcatcher/etc and find the e-mails and check that:
        • In the email to S1 you don't see the "Reading this in your e-mail?....." text
        • In the email to S2 you see the "Reading this in your e-mail?....." text
      Show
      As admin: Enable mailcatcher, mailhog, or have e-mail configured Disable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a course, enrol two users as studnets (S1 and S2) and one user as teacher (T1) with valid email addresses for at least S1 and S2 if you are not using mailcatcher or mailhog Create a forum in the course with the "Subscription mode" force to all users In the forum settings the maxeditingtime to something really low (1 minute) Access to the site with U1 and post in the forum Wait for a minute an run the cron: php admin/tool/task/cli/schedule_task.php --execute="\mod_forum\task\cron_task" Open mailhog/mailcatcher/etc and find the e-mails Confirm that all the emails received from the site does not containg this text at the bottom of the email: "Reading this in your e-mail?....." Now, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Check that the " App download page " setting in Mobile app -> Mobile appearance is correctly set Access with S1 to the site using the app Post as teacher in the forum Wait for a minute an run the cron: php admin/tool/task/cli/schedule_task.php --execute="\mod_forum\task\cron_task" Open mailhog/mailcatcher/etc and find the e-mails and check that: In the email to S1 you don't see the "Reading this in your e-mail?....." text In the email to S2 you see the "Reading this in your e-mail?....." text
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64337-master

      Description

      In order to promote the app we can add the following text in notifications sent by email (for users not using the app):

      “Reading this in your e-mail? Download the Moodle App and receive notifications on your mobile devices”?

      This is related to MDL-59192

        Attachments

        1. MDL-64337.jpg
          40 kB
          Anna Carissa Sadia

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/May/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m