@igm-jl opened this Issue on November 27th 2020

I have set all my credentials and mail user to the no-reply@. but in the logs it keeps wanting to use password-reset@. (after enabling mailer debug and reading the issues returned).

Office365 (or at least my configuration of) blocks you from sending emails from a different user account so because Matomo is trying to force sending it as password-reset instead of the actual user I put into the config, the authentication fails.

I was able to get the mailer to work by adding $phpMailer->setFrom() to the actual email address that needed to be authenticated against in /core/Mail/Transport.php' prior to return $phpMailer->send().

It might make sense to either only use the actual authentication email address (as one would expect the default behaviour would be) OR to provide an option to override this in the settings page.

@sgiehl commented on November 27th 2020 Member

@igm-jl you can set this config values to adjust the email address password requests are sent from:


This Issue was closed on November 27th 2020
Powered by GitHub Issue Mirror