
bin.add_mail_templates.sh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structr-ui Show documentation
Show all versions of structr-ui Show documentation
Structr is an open source framework based on the popular Neo4j graph database.
The newest version!
#!/bin/bash
#######################################################################
# Use this script to create MailTemplate nodes
#######################################################################
. ./su
delete mail_templates
post mail_templates '{"name":"SUBJECT", "visibleToAuthenticatedUsers":true, "text": {"content":"Welcome to Structr!", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"SENDER_NAME", "visibleToAuthenticatedUsers":true, "text": {"content":"Structr backend", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"SENDER_ADDRESS", "visibleToAuthenticatedUsers":true, "text": {"content":"[email protected]", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"TEXT_BODY", "visibleToAuthenticatedUsers":true, "text": {"content":"Dear ${eMail},\n\nplease click here to finalize your registration.", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"HTML_BODY", "visibleToAuthenticatedUsers":true, "text": {"content":"", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"BASE_URL", "visibleToAuthenticatedUsers":true, "text": {"content":"http://'$HOST':'$PORT'", "visibleToAuthenticatedUsers":true}}'
post mail_templates '{"name":"TARGET_PAGE", "visibleToAuthenticatedUsers":true, "text": {"content":"register_thanks", "visibleToAuthenticatedUsers":true}}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy