Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native mail() function does not work #19900

Closed
Kleppinger opened this issue Oct 21, 2022 · 3 comments
Closed

Native mail() function does not work #19900

Kleppinger opened this issue Oct 21, 2022 · 3 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@Kleppinger
Copy link

When using the mail() function instead of SMTP, he function returns true, but the mail does not get send. When calling the mail() function in the same environment, it works. The issue also occurs in the CLI application. Sendmail is working fine.

Expected Behavior

When the mail() function returns true, the mail should be sent.

Current Behavior

The function returns true, but no mail got sent.

Steps to Reproduce (for Bugs)

  1. Make an fresh installation.
  2. Configure sendmail
  3. Send an mail or use the CLI to send an test-mail. It will return true, but no mail will be sent

Your Environment

  • Matomo Version: 4.12.2
  • PHP Version: Tested on 7.4 and 8.1
  • Server Operating System: Debian 9
  • Additionally installed plugins: None
@Kleppinger Kleppinger added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Oct 21, 2022
@heurteph-ei
Copy link

Was it working on previous version?

@bx80
Copy link
Contributor

bx80 commented Oct 26, 2022

Hi @Entenlias, thanks for reporting this. Could you please provide the sendmail logs from when Matomo attempts to connect and send the mail?

@bx80 bx80 added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Oct 26, 2022
@peterhashair peterhashair removed the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Nov 9, 2022
@sgiehl
Copy link
Member

sgiehl commented Oct 9, 2023

Closing as there hadn't been any further feedback. Locally using the native mal function works without problems, so I'd assume this to be a configuration issue on the server.

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
@sgiehl sgiehl added worksforme The issue cannot be reproduced and things work as intended. and removed Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

5 participants