Email Media Added To Group


Email Media Added To Group

This is a system-triggered email and therefore does not need to be referenced by the action in the user Actions section of the Application Settings.

To create the template follow these steps:

  • go to the application in your project
  • select Email Templates
  • create the desired email text/format (sample email templates are provided lower on this page)
  • configure the email options by clicking on the Info button and filling in the following fields:
    • Template Name - set the Template Name as 'Media added to Group'
    • Wrapper Template - set as 'raw HTML' or 'HTML'
    • Subject - example: 'Media has been added to your Group'
    • Sender - example: 'no-reply@yourdomain.com'
  • save the template

Go to the communitygroupinfo page for the group and select the 'Media Added To Group' template name in the Email Template field.
This will enable emails to be sent out to users using that email template.

Supported Attributes

NameDescription
media_idThe id of the media added to the group.
group_idThe id of the group to which the media has been added.
selectedVHostThe id of the Vhost for the group.

Example:

<p>Media has been added to the group.</p> <p> Media ID: {$$media_id} Group ID: {$$group_id} VHost ID: {$$selectedVHost} </p>

See Also: