-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2.1
-
MOODLE_22_STABLE
-
MOODLE_26_STABLE
-
wip-mdl-31560
-
-
8
-
BACKEND Sprint 4
The old email_to_user API could do this, and we need to be able to do this in many places in the code that currently use email_to_user, and which should be updated to message_send in future.
Please extend the API to make this possible. The old system was able to set a fake name to go beside the $CFG->noreplyaddress, so for example you might get emails from
- Shy User <noreply@moodle.org> - for example when a forum poster has decided they want to keep their email private; or
- Quiz system <noreply@moodle.org> - for emails generated in code.
I think both these use-cases are important, and so need to be implemented in the API, but from what I can see, this will be hard because:
- messages can hang around for some time in the message_working table - that is, there is no guarantee that messages are sent synchronously - it is up to the message output plugins.
- The from address in the message table is stored as a userid in a NOT NULL DEFAULT 0 column.
Note that this issue is different from MDL-6796.
- caused a regression
-
MDL-42754 Noreply user cannot be used in message_send()
-
- Closed
-
- Discovered while testing
-
MDL-41849 Quiz sends emails from admin user - should use core_user::get_noreply_user()
-
- Closed
-
-
MDL-41850 Assignment sends student submissions receipts from the same user.
-
- Closed
-
-
MDL-41851 Forum sends cron email from $CFG->noreplyemail but does not consider $CFG->noreplyuserid
-
- Closed
-
- has a non-specific relationship to
-
MDL-34732 Replace existing VERP with message_handler
-
- Closed
-
- has been marked as being related by
-
MDL-25476 Email change notification not sent from support user
-
- Closed
-
- will help resolve
-
MDL-35424 Error when somebody gets a mail from himself. For example after handing in an answer to an assignment.
-
- Closed
-
-
MDL-3762 Have all forum post emails come from noreply address
-
- Closed
-