-
Bug
-
Resolution: Fixed
-
Critical
-
2.8 regressions, 2.8.1
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-48510-master -
-
Team B Sprint 1
As reported on moodle.org the my private files emailing in has a few major issues:
1. Nowhere does the user get told that the address to email files to is going to expire, yet it does in a week in our default configuration
2. As far as I can see from my brief look at the code, that address is never regenerated, effectively crippling this feature after 1 week without a way to recover
3. The error message for an address expiring could be more helpful:
- Parsing message 351
|
-- Subject: Test again x 2
|
-- From:
|
-- Recipient:
|
-- Processing the message as user 2 (cmolnar).
|
-- Message did not meet validation but is possibly recoverable. Fail code 64
|
--> Sending a message to the user to report an verification failure.
|
--- Original message retained on mail server and confirmation message sent to user.
|
-- Returning to the original user.
|
Steps to reproduce:
- Enable incoming email processing
- Enable the my private files incoming emails message handler
- Set the expiration to 1 hour
- Go to my private files and record the address
- Try to send an image using that email address 2 hours later
Expected result:
- A helpful message about expired email address is given
- There is a way to generate a new secret email address
Actual result:
- The email address expires and an incorrect validation response message is sent to the user 'The message "test" could not be authenticated, since it was sent from a different email address than in your user profile. For the message to be authenticated, you need to reply to this message.'
- There appears to be no way to generate a new secret email address