I received some emails with this feature request since they were not able to switch off the email reports (probably via the additional email-addresses field). And they were not even able to determine, who had set up this reports.
Any thoughts on this?
The unsubscribe link should be doable using something like the password reset email where the token is a hash of the receiver's email + salt, e.g.,
The only downside is where the email address is actually a mailing list / alias for multiple recipients.
Indeed, this would be not good.
At least the system should send an unsubscription message then, that the other list owners are also notified. Then the piwik admin must enter the single email-addresses seperately in the additional receivers input field instead of the mailing list address.
If a user is the only one recipient of the Report, should the report then be disabled or should this unsubscription be possible then at all?
I prefer the other proposal: put in the email, something like
This Email report was scheduled by $login ($email) and only put this sentence, if the user is different from the user being emailed. thoughts?
(strange I didn't get emails for this ticket, or maybe it was in spam and is now deleted after 30 days...)
Peter proposals are good, in fact I think both solutions are needed to properly solve this issue 1) tell who setup the report 2) allow to "unsuscribe" ie. only remove this one email address from the report
Considered a bug, increasing priority
After reading all comments, I found two pending questions :
Replying to JulienM:
- should we send a confirmation mail after successfully unsubscribing an e-mail address? As mentioned in comment:2, this would solve the mailing list issue.
+1 to email-confirm the unsuscribe
- what happens when the last recipients is removed from the report? I took care of this issue in r6478 by replacing the 'send now' button by 'This report has no recipients'. The report is still downloadable and editable.
For example currently one of the reports I receive is in German. I know I've tested German language while logged in, but I didn't know the account. Displaying which user scheduled the report will greatly help (display Login + Alias?)