Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1192 +/- ##
========================================
Coverage 99.65% 99.66%
========================================
Files 172 173 +1
Lines 22214 22479 +265
Branches 3502 3561 +59
========================================
+ Hits 22138 22403 +265
Misses 68 68
Partials 8 8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e442cbd to
d5c6c4a
Compare
|
@caronc I came across this when setting SendPulse today. I have tested it and can confirm that the code worked and emails were sent. |
Owner
Author
|
Great timing; I was going to do a release this weekend; thanks to you, this will be included in it. |
84e8981 to
7cd41b1
Compare
d6c11fe to
8e1e6f4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Related issue (if applicable): #1137
SendPulse Notifications
Account Setup
Once you have an account and access to your dashboard. You will need to ensure you acquire your Client ID and Client Secret in order to construct the Apprise URLs
Syntax
Valid syntaxes are as follows:
{schema}://{user}@{host}/{client_id}/{client_secret}{schema}://{user}@{host}/{client_id}/{client_secret}/{to_email}{schema}://{user}@{host}/{client_id}/{client_secret}/{to_email1}/{to_email2}/{to_email3}Template support is also supported as well, You just need to specify the integer assigned to it as part of the URL:
{schema}://{user}@{host}/{client_id}/{client_secret}/:{to_email}?template={temlate_int}If you want to take advantage of the
dynamic_template_datavariables, just create arguments prefixed with a plus (+); for example:sendpulse://{user}@{host}/{client_id}/{client_secret}/{to_email}?template={template_int}&+{sub1}=value&+{sub2}=value2Parameter Breakdown
host, it constructs the email address you have configured with your SendPulse account.user, it constructs the email address you have configured with your SendPulse account.Dynamic Template Data
Apprise has template support for SendPulse. Just define the
?template=and the optional arguments you want to set. You can identify and set these variables using Apprise by simply sticking a plus (+) in front of any parameter you specify on your URL string.Consider the following template:
1234An Apprise URL might look like:
sendpulse://user@example.com?template=1234&+what=templates&+app=AppriseExample
Send a SendPulse notification:
New Service Completion Status
%global common_descriptionChecklist
flake8)Testing
Anyone can help test this source code as follows: