The Media Notification Email is sent to notify the media owner that someone commented on the media.
When the notification email is sent depends on the "Media moderation" setting for the vhost in the Project Settings page:
The media notification email contains the comment, and a link to the medianotificationoptout page that allows the user to opt-out of the Media Notification Emails.
NB: The owner of the media does not receive a notification email when (s)he comments on their own media or when they comment on a thread of their own media.
Go to the Channel Detail page of the application and set the Media Notification Email field to Media Notification Email
Name | Description |
---|---|
author_firstname | (String) - The first name of the user that wrote the comment. |
author_id | (Integer) - The id of the user that wrote the comment. |
comment | (String) - The comment that was written. |
comment_id | (Integer) - The id of the comment that was written. |
comment_meta | (Array) - The meta data of the comment that was written. Contains the URL that was used to create the comment: In order to be available in the mediadetail page, this metadata has to be passed as: $fileData[metadata][user][<url_key>] and is available in the template as {$$comment_meta.user.<url_key>} |
(String) - The email address of the owner of the media. | |
firstname | (String) - The first name of the owner of the media that has been commented on. |
mediaorthread | (String - Signifies whether the email is for media or thread moderation. Can be either 'media' or 'thread'. |
media_owner_firstname | (String) - The first name of the media owner. |
media_id | (Integer) - The id of the media that has been commented on. |
media_owner_id | (Integer) - The id of the owner of the media that has been commented on. |
media_title | (String) - The title of the media that has been commented on. |
parent_media_url | (String) - The URL of the media that was commented on. |
u | (Integer) - The user id of the email recipient. |
vhostmaindomain | (String) - The domain of the application. |
Hi {$$media_owner_firstname},
{$$message}
The comment is:
{$$comment}
The URL of the comment is: {$$comment_meta.user.url}
Newzulu's Contest Application
Check out all the entries at {$$vhostmaindomain}
OPT OUT FROM THE NOTIFICATIONS AT:
{$$vhostmaindomain}/action/v2/{$$mediaorthread}notificationoptout?u={$$u}&email={$$email}&hash={$$password}