Subscription mail/SMS template

Elements available in the Velocity Context

Name

Type and description

jcrSession

javax.jcr.Session


The JCR Session

mailContext

javax.jcr.Node


The mail context. See properties below

sitevisionUtils

senselogic.sitevision.api.Utils


The main entry point to all utility classes

 

Additional properties available for the mail context ($mailContext)

Name
Type and Description

node

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node containing the subscription (might differ from the active subscription)

notification

javax.jcr.PropertyType.STRING

 

The notification entered at the publishing stage

sender

javax.jcr.PropertyType.STRING

 

An optional name of the sender

senderEmail

javax.jcr.PropertyType.STRING

 

The e-mail of the sender

subscriberEmail

javax.jcr.PropertyType.STRING

 

The e-mail or phone number of the subscriber

subscribeURL

javax.jcr.PropertyType.URI

 

An URL used to subscribe. Note! This will only work if you have a Subscribe portlet at the page corresponding to the node

subscription

javax.jcr.PropertyType.WEAKREFERENCE

 

A Node containing the active subscription (i.e. sv:sitePage, sv:page or sv:article)

unsubscribeText

javax.jcr.PropertyType.STRING

 

Language dependent text for unsubscription

unsubscribeURL

javax.jcr.PropertyType.URI

 

An URL used to unsubscribe. Note! This will only work if you have a Subscribe portlet at the page corresponding to the node