mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-10 00:08:52 +02:00
[GH-ISSUE #1685] Email notification using curl doesn't work anymore #1172
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1172
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amadvance on GitHub (Apr 1, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1685
🐞 Describe the bug
Sending email notifications using curl doesn't work anymore from some days. It fails with HTTP error 400. If I remove the corresponding email header, the notification is working.
For example, this is a failure:
💻 Components impacted
Email notification from curl
💡 Screenshots and/or logs
Here a curl verbose command that fail using "Email:yes". Same output using my real email :
🔮 Additional context
I have a free account on https://ntfy.sh
I have my email verified
I have not reached the mail limit of 5
My account is subscribed to the topic I send to
Using -H "Email: yes" gets the same error than using -H "Email: mymail@gmail.com"
Sending a notification with email from the web interface is working
@binwiederhier commented on GitHub (Apr 1, 2026):
You are correct. Your limit hasn't been reached. But the error is also a HTTP 400, not a 429, so it's a problem with the request itself. What is the exact error? Try the curl without the
-f. That'll give you a response with details.@amadvance commented on GitHub (Apr 1, 2026):
Without -f I get:
@binwiederhier commented on GitHub (Apr 1, 2026):
You're not sending as a user. You need to pass an auth header: https://docs.ntfy.sh/publish/#authentication
@amadvance commented on GitHub (Apr 1, 2026):
OK. Thanks!