-
I'd like help addressing two issues:
First, here's the configuration I'm using in the web UI (with the important bits snipped out): urls:
- https://discord.com/api/webhooks/snip/snip
- mailto://[email protected][email protected]&[email protected] I then go to the Notifications tab and send a notification using these settings: Here is how the notification looks in Discord (this applies to point number 1): And this is how it looks in email (this applies to point number 2): My expectation is that Apprise will format markdown to whatever renders best on the platform to which notifications are sent. In Email, that would mean I expect proper HTML output. For Discord, this means I expect an embed. I guess the first thing to address is if my expectation is accurate. I wasn't able to find any general documentation that describes the role Apprise plays in this area. Using persistent storage mode for configuration, it's really up to the user to specify where notifications will go. I prefer this approach because I do not want to have to support individual notification platforms in my .NET application, which is where I'm ultimately integrating this. That's the whole purpose & value of Apprise, in my opinion: It handles the details of sending notifications to various places so my app only needs to send to 1 endpoint. I prefer to send notifications using Markdown syntax because this, in my opinion, offers the best mechanism to render notifications using different formats. Markdown looks good and readable in plain text and has a way to render into HTML. It's a good middle-ground that allows me to send notification text in a singular way from my application, thus reducing complexity. Assuming I'm correct on the expectation side of things -- I'd like to understand why the formatting isn't coming through as I expect on Discord and Email. Your guidance is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
I saw your comment in Discord and here. Sorry i took so long to get back to you. I'll try my best to explain Apprise with regards to the different formats (text, html, and markdown). Also consider a few rules that Apprise goes off of:
Because of the first rule above, what you pass in, is mostly/usually exactly what gets passed along as output. HOWEVER, if you do one of the following:
Hence you provide If Apprise knows what it is fed, it will apply logic Now Discord is a bit of a different beast, because it can take data is Okay, so how do you force the output to be
Other triggers are to make use some of the features Apprise/Discord offers that only works if you're in markdown mode such as In your example above, i think there is an issue with the email though for sure. It should have converted new lines to |
Beta Was this translation helpful? Give feedback.
You don't seem demanding at all, i wish i was a better maintainer. I love this project. I just only get a few hours a week i can dedicate to it. I appreciate people like you who report things like this! 🙏🚀
I'll re-review what was said in Discord, but your screenshots and examples do still seem to paint a possible issue on my end. I'll investigate anyway; no harm, no foul