-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Valentin Pichard <[email protected]>
- Loading branch information
Showing
28 changed files
with
2,236 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,16 @@ action: | |
smtp_username: {{.config.smtp.username}} | ||
# mandatory, string | ||
smtp_password: {{.config.smtp.password}} | ||
# optional, uint (default is 25) | ||
# mandatory, string as uint | ||
smtp_port: {{.config.smtp.port}} | ||
# mandatory, string | ||
smtp_hostname: {{.config.smtp.hostname}} | ||
# optional, string as boolean | ||
smtp_skip_tls_verify: "true" | ||
# mandatory, string | ||
from: [email protected] | ||
from_address: [email protected] | ||
# optional, string | ||
from_name: uTask bot | ||
# mandatory, string collection | ||
to: [[email protected], [email protected]] | ||
# mandatory, string | ||
|
@@ -31,4 +35,16 @@ action: | |
## Note | ||
The plugin returns an object to reuse the parameters in a future component: | ||
```json | ||
{ | ||
"from_address":"[email protected]", | ||
"from_name":"uTask bot", | ||
"to": ["[email protected]", "[email protected]"], | ||
"subject":"Hello from µTask", | ||
"body":"I love baguette" | ||
} | ||
``` | ||
|
||
Sensitive data should be retrieved from configstore and accessed through `{{.config.[itemKey]}}` rather than hardcoded in your template. |
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.