When emails from Matomo are not being sent, for example scheduled email reports or password reset emails are not sent, or you may be getting the error
[Zend_Mail_Protocol_Exception] 5.1.7 Bad sender address syntax while executing the
core:archive console command via crontab, then please follow the steps below to likely solve this issue.
config/config.ini.php and under the
[General] category add the following:
noreply_email_address = "firstname.lastname@example.org" login_password_recovery_email_address = "email@example.com" login_password_recovery_replyto_email_address = "firstname.lastname@example.org"
This should fix the issue and your Matomo emails should now be sent.
If your emails are still not sent from Matomo, then please run the following command (requires Matomo 3.10.0) to send a test email (replace
email@example.com by your real email address):
./console core:test-email firstname.lastname@example.org
And if you see any output please contact us to let us know about it.
Finally if you are not able to receive emails from Matomo with the default configuration, we recommend to try to configure a SMTP server to send all emails from Matomo as this will likely solve the issue.