hello, when I try to use email report function, I met some problems.
STEP 1:
I follow this site’s guide but I found I can download the report but can not send email, when I click send report now
, it showed as belows, said
Error was ‘Invalid address: (From): noreply@localhost:8082’
Manage Email Reports User Guide - Analytics Platform - Matomo
STEP 2:
I followed this guide, and find all these ways didn’t work.
Emails from Matomo are not being sent, how do I troubleshoot and solve the issue? FAQ - Analytics Platform - Matomo
And when I input following command,
./console core:archive
it showed following warnings:
$ ./console core:archive
The system cannot find the path specified.
The system cannot find the path specified.
WARNING [2021-12-11 17:22:07] 6092 E:\nginx-1.20.2\things\matomo\core\CliMulti\Process.php(290): Deprecated - trim(): Passing null to parameter #1 ($string) of type string is deprecated - Matomo 4.6.2 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
The system cannot find the path specified.
WARNING [2021-12-11 17:22:07] 6092 E:\nginx-1.20.2\things\matomo\core\CliMulti\Process.php(308): Deprecated - trim(): Passing null to parameter #1 ($string) of type string is deprecated - Matomo 4.6.2 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
The system cannot find the path specified.
WARNING [2021-12-11 17:22:07] 6092 E:\nginx-1.20.2\things\matomo\core\CliMulti\Process.php(258): Deprecated - trim(): Passing null to parameter #1 ($string) of type string is deprecated - Matomo 4.6.2 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
I’m not sure is this the main reason I can’t send email? I’m using php 8.1 & matomo 4.6.2, is that matters?
when I use PHP version: 7.4.26, the console result become:
2021-12-12 17:10:46 Invalid address: (From): noreply@localhost:8082
ERROR [2021-12-12 17:10:46] 18648 Uncaught exception: E:\nginx-1.20.2\things\matomo\vendor\phpmailer\phpmailer\src\PHPMailer.php(1299): Invalid address: (From): noreply@localhost:8082 [Query: , CLI mode: 1]
[PHPMailer\PHPMailer\Exception]
Invalid address: (From): noreply@localhost:8082
core:test-email emailAddress