sending e-mail via ntfy not possible
-
Hey there! I wonder if anybody can send e-mails via ntfy and cloudron. I noticed that the app seems to be configured appropriately as described in https://docs.ntfy.sh/config/#e-mail-notifications in the
config/server.ymlfile withsmtp-sender-addr: "mail:2465" smtp-sender-user: "ntfy.app@my.cloudrondomain.com" smtp-sender-pass: "some-autogenerated-password" smtp-sender-from: "ntfy.app@my.cloudrondomain.com"but when I try to send a notification via mail via command-line
ntfy publish -e xxx@somewhere.de -u <someuser> test-mail testmail(
xxx@somewhere.deand<someuser>are just placeholders here) I just see in the logsINFO Sending email to xxx@somewhere.de (email=xxx@somewhere.de, message_body_size=8, message_event=message, message_id=..., message_sender=..., message_sequence_id=..., message_time=1783425961, message_user=..., tag=email, topic=test-mail, user_id=..., user_name=<someuser>, visitor_auth_attempts_remaining=30, visitor_emails=2, visitor_emails_limit=24, visitor_emails_remaining=22, visitor_id=ip:..., visitor_ip=..., visitor_messages=2, visitor_messages_limit=17280, visitor_messages_remaining=17278, visitor_requests_remaining=59, visitor_seen=2026-07-07T12:06:01.878Z, visitor_topic_creations_remaining=100) INFO Server stats (emails_received=0, emails_received_failure=0, emails_received_success=0, emails_sent=0, emails_sent_failure=0, emails_sent_success=0, messages_cached=7, messages_published=6538, subscribers=6, tag=manager, topics_active=7, users=5, visitors=5)but the mail is never sent. The same happens through the frontend, also when I try to verify emails in the account settings of the frontend.
Any idea what is going wrong here?
-
I just stumbled upon this as well. At least for the email verification part. It seems one of the last releases has added email addresses for accounts and I wanted to add this to mine, but apart from this log line:
2026/07/10 11:09:58 INFO Resending email verification (email=xx@xx.eu, http_method=POST, http_path=/v1/account/email/resend, tag=account, user_id=xx, user_name=felix, visitor_auth_attempts_remaining=30, visitor_emails=2, visitor_emails_limit=24, visitor_emails_remaining=22, visitor_id=ip:xxx, visitor_ip=xxx, visitor_messages=0, visitor_messages_limit=17280, visitor_messages_remaining=17280, visitor_requests_remaining=19, visitor_seen=2026-07-10T11:09:58.274Z, visitor_topic_creations_remaining=92)Nothing else happens. I also dont see any logging regarding this in the Cloudron event log for email.
-
-
J joseph marked this topic as a regular topic
-
Yes, I can confirm that the verification mail is now delivered.
But strange that ntfy did not give a proper error message here, I upped the logging to trace and could not find any more logging related to mail sending in ntfy.
-
I think Go apps don't want to work with non-TLS mail servers (a bad decision, but who has energy to fight all this)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login