As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var parent = space.getParent(); var siteShortName = space.getSiteShortName(); var siteGroup = "GROUP_EMAIL_CONTRIBUTORS"; var mail = actions.create("mail"); mail.parameters.to_many = siteGroup; mail.parameters.subject=" A new site called" +siteShortName +"is created"; mail.parameters.text="Login to share to join the site; //execute action against a document mail.execute(document);
logger.log(parent.properties.name);
logger.log(document.properties.name);
mail.parameters.subject=" A new site called" +siteShortName +"is created";
mail.parameters.subject=" A new site called" + document.properties.name +"is created";
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/invite/invite-email.html.ftl"); mail.parameters.text = "some text";
var siteGroup = "GROUP_EMAIL_CONTRIBUTORS"; mail.parameters.to_many = siteGroup;
# Set this value to UTF-8 or similar for encoding of email messages as required mail.encoding=UTF-8 # Set this value to 7bit or similar for Asian encoding of email headers as required mail.header=7bit
mail.parameters.to = "your_email_id";
mail.parameters.to_many = siteGroup;
function sendMail() { var siteGroup = "GROUP_EMAIL_CONTRIBUTORS"; var mail = actions.create("mail"); mail.parameters.to_many = siteGroup; var url = "Click http://pc1:8080/share/page/site/" + document.properties.name + "/dashboard" + " to join the site"; mail.parameters.subject="New Site Created in Community"; mail.parameters.text=url; //execute action against a document mail.execute(document); } sendMail();