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

New cli command to send test-mail to admin #14302

Closed
Findus23 opened this issue Apr 1, 2019 · 2 comments · Fixed by #14467
Closed

New cli command to send test-mail to admin #14302

Findus23 opened this issue Apr 1, 2019 · 2 comments · Fixed by #14467
Assignees
Labels
Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@Findus23
Copy link
Member

Findus23 commented Apr 1, 2019

See also #14455 for a description of this proposed feature.

Many bugs similar to #11534, #12634 (e-mail reports work when sent automatically, but not when sent regularily) have been reported in the last months and my current theory is that this is caused by servers where php mail is only set up correctly for the webserver, but broken in the php.ini read by php-cli.

One way to help debugging this (that would also be useful in other cases) would be a new console command that would send a testmail (or if it is easy a report selected by id) to the admin (or another address).

While I am not 100% sure if this will fix #11534 and co. it might be usefull for other people who want to make sure they have set up their Matomo instance correctly. (And getting e-mails to work is often one of the most complex parts as it totally depends on the server environment)

@Findus23 Findus23 added the Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. label Apr 1, 2019
@Findus23 Findus23 added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label May 17, 2019
@Findus23 Findus23 added this to the 3.11.0 milestone May 17, 2019
@mattab
Copy link
Member

mattab commented May 20, 2019

see #14455 (comment) for suggested email subject and content

I wonder if there's a way to return some "debug information" that could be included in the output of the console command?

@mattab
Copy link
Member

mattab commented Jun 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants