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

email: set reply-to as default

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.11.5
    • Email
    • None
    • MOODLE_311_STABLE

      Problem:

      Because of the SPF problem, emails are sent with the noreply Address.
      If a user replys to that mail, it will not work.

      The Solution would be to set the reply-to header, which is also implemented in the email_to_user function in lib/ moodlelib.php. But those optional parameter is nearly
      never set in function calls.

      Proposed Solution:

      Set the replyto-address as default to $from->email at the begin of the function email_to_user:

          if (empty($replyto))

      {         $replyto = $from->email;     }

            dobedobedoh Andrew Lyons
            vinzenz Franz Vinzenz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

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