Skip to content

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

@Findus23

Description

@Findus23

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)

Metadata

Metadata

Assignees

Labels

Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions