Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to unsubscribe from Email reports (pdf, html, csv) #2197

Closed
peterbo opened this issue Mar 17, 2011 · 9 comments · Fixed by #13214
Closed

Possibility to unsubscribe from Email reports (pdf, html, csv) #2197

peterbo opened this issue Mar 17, 2011 · 9 comments · Fixed by #13214
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@peterbo
Copy link
Contributor

peterbo commented Mar 17, 2011

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.

Possible solutions

  • Unsubscribe Link in the Reporting eMails
  • Provide information about the user who set up the report (e-Mail-Address, etc. - so the receiver can quickly get in contact with him)

Any thoughts on this?

@robocoder
Copy link
Contributor

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.,

<a href="http://example.com/piwik/?module=PDFReports&action=unsubscribe&email=XXX&token=YYY&&idreport=ZZZ">Unsubscribe&lt;/a>

The only downside is where the email address is actually a mailing list / alias for multiple recipients.

@peterbo
Copy link
Contributor Author

peterbo commented Mar 17, 2011

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?

@mattab
Copy link
Member

mattab commented Apr 28, 2011

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...)

@mattab
Copy link
Member

mattab commented Sep 16, 2011

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

@mattab
Copy link
Member

mattab commented Sep 17, 2011

Considered a bug, increasing priority

@julienmoumne
Copy link
Member

I am currently performing a lot of refactoring on the PDFReport plugin as part of #3088 and #2708.

Since I am currently dedicated in improving scheduled reports I would like to own this ticket.

Is this ok Peter?

@julienmoumne
Copy link
Member

After reading all comments, I found two pending questions :

  • 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.
  • 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.

@mattab
Copy link
Member

mattab commented Jun 19, 2012

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.

Great!

@mattab
Copy link
Member

mattab commented Jul 27, 2012

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?)

@peterbo peterbo added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@mattab mattab changed the title PDFReports - Add possibility to unsubscribe from the "mailing list" Possibility to unsubscribe from Email reports (pdf, html, csv) Mar 6, 2018
@mattab mattab modified the milestones: Backlog (Help wanted), 3.6.0 Jun 4, 2018
@sgiehl sgiehl self-assigned this Jun 4, 2018
@diosmosis diosmosis added Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. and removed Lower priority labels Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants