Invite E-Mail not sending on 2.1.4 even when testing SMTP is successful #4844
Replies: 5 comments 7 replies
-
tried to test with this method and it get sent aswell and has the correct from data:
but invite mails stll not sent and i receive an error in the log i've tested on ports 25, 465 and 587 all send via bamboo but not via the plausible backend, |
Beta Was this translation helpful? Give feedback.
-
👋 @degoya Please use a concrete example for an email address that fails and the one that works. From your configuration it seems you are using a relay but send to port 25, that might work if it coincides with your mail server, but that wouldn't work for someone on, say, Gmail. And please show the configuration you would were using during that test. Right now each new snippet contains different values for SMTP port :) |
Beta Was this translation helpful? Give feedback.
-
@ruslandoga i'm using an mailserver that supports port 25, 465 and 587 i've used the same email account/server/settings for sending my mails from V2.0. i've tried every port and all ports send via Bamboo over CLI but noch from Plausibe UI. The Snippets contain different ports because i've tried all of them without any luck. is there a way to get a more detailed error log for the [error] Failed to send e-mail? |
Beta Was this translation helpful? Give feedback.
-
Yes, you can connect Sentry by setting SENTRY_DSN env var and it would show the full error message. |
Beta Was this translation helpful? Give feedback.
-
@ruslandoga after setting up Sentry i was able to see the real reason for the problem. The Mail has been rejected by the Mailserver because rspamd classified it as SPAM. So the Error Message was a bit misleading, it would be great to have better Error messages in Plausible and don't need to use sentry to get to this informations. Thanks for pointing me to Sentry, otherwise i would spend another day with the problem. |
Beta Was this translation helpful? Give feedback.
-
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
I'm not able to send invite Links. Doesn't matter if i invite as Admin or Viewer User.
in my docker compose file i've added the following enviromentvars:
i tried to debug the mail and it is working
when i connect to the docker container and start
bin/plausible remote
and execute:
Application.get_env(:plausible, Plausible.Mailer)
i get as result:
what matches my settings in the environment.
when i try to send a test email with
i get a mail delivered to my inbox.
As soon when i go and send an invite link via the plausible UI i get a error in the log:
2024-11-19T17:10:52.573292413Z 17:10:52.566 request_id=GAlty2uNwBoaMdoAADUC [error] Failed to send e-mail
this error with different request_id comes for every email adress i try to add.
i'm running on a Hetzner Cloud Server (blocking of Ports is disabled by support)
is there any way i could debug it futher?
why i'm able to send mails via STMP in test but plausible fails?
Here is my complete Docker Compose File to have everything togehter in that issue:
Expected behavior
Sending invite links via the setup mailer
Screenshots
No response
Environment
Beta Was this translation helpful? Give feedback.
All reactions