You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: