Send email notification from a custom script in Confluence.
Overview
Send an email from any of your scripted automations in Confluence.
Example
As a Confluence System Administrator, I want to be notified when any of my scripted automations have finished running. I can use this script snippet at the end of my scripts to send a custom email to provided email address(s) that includes the information I find important.
Good to Know
- An SMTP mail server needs to be configured.
- This script can be run inside any feature (Example: Listeners, Jobs) to send the custom email.
- This script can be run after any script to send the result over email