Email Media Approved


Email Media Approved or Denied

The Media Approved and Media Denied emails are sent to the owner of a media when its status is changed (moderated) to approved or denied.
The email templates are set in the channeldetail page of the channel that the moderated media are in.
There may be two Media Approved (and two Media Denied) templates, English and French, so make sure to enter the appropriate template for each language in each channeldetail page.

To create the Media Approved (or Denied) template:

  • 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 Approved (en)' or 'Media Approved (fr)'.
    • Wrapper Template - set as 'html' or 'raw html'
    • Subject - example: 'Your file has been approved' or 'Your file has been denied'
    • Sender - example: 'no-reply@yourdomain.com'
  • save the template

To use the Media Approved and Media Denied templates:

1. Go to the Project Settings of the application and set the Media Moderation fields, which are:

  • Media moderation - set it to 'Post'
  • Media moderation email - select from the 3 choices in the dropdown:
    • "Off" means no moderation emails will be sent, ever.
    • "Send by default" means that moderation emails will be sent for all users that have not opted out.
    • "User must opt-in" means that moderation emails will only be sent to those that have explicitly opted in. Requires that this option exist in the user profile page.

2. In your project, go to the channeldetail page for the channel that the moderated media are in.

  • Approved moderation email - set this to "Media Approved (en)" or "Media Approved (fr)"
  • Denied moderation email - set this to "Media Denied (en)" or "Media Denied (fr)"

Supported Attributes

Name Description
deniedReason (String) The reason why the media has been moderated (if indeed it has been denied).
firstname (String) The first name of the owner of the media that has been moderated.
media_id (Integer) The id of the media that has been moderated.
moderationStatus(Integer) The moderation status of the media.
selectedVHost (Integer) The VHost id of the media has been moderated.
u (Integer) The id of the owner of the media that has been moderated.

Example 1: Media Approved (en)

<table width="500" style="font-family:Arial;"> <tr> <td> <center> <img src="/static/vidcom/v3/images/logo.png" alt="Newzulu" /> </center> </td> </tr> <tr> <td style="border:1px solid #ccc; padding: 10px;"> <table> <tr> <td> <p style="font-size:12px;"> Thank you for your submission to the <b>Newzulu Media Community</b>. It has been approved by our moderators. </p> <p> <a href="http://community3.staging.filemobile.com/mediadetail/{$$media_id}"><img src="http://fmdevs3.filemobile.com/storage/{$$media_id}/15"></a> </p> <p> You can view your submission at http://community3.staging.filemobile.com/mediadetail/{$$media_id} </p> </td> </tr> </table> </td> </tr> </table>

Example 2: Media Denied (en)

<table width="500" style="font-family:Arial;"> <tr> <td> <center> <img src="/static/contest/images/logo.png" alt="Newzulu" /> </center> </td> </tr> <tr> <td style="border:1px solid #ccc; padding: 10px;"> <table> <tr> <td> <p style="font-size:12px;"> Thank you for your submission. Unfortunately, it has been denied by our moderators. </p> <table width="500"> <tr> <td style="margin-top:10px; padding:10px; background-color:#e2e2e2;" width="318"> <p style=" font-size:14px;"> Denied reason: {$deniedReason} </p> <p> <ul style="font-size:12px; padding:0px 0px 0px 10px; list-style:none;"> <li style="margin-bottom:10px;"><b>Copyright infringement:</b> You may have used copyrighted video, which is not allowed. Also, make sure you are not wearing a branded t-shirt or have a poster in the background.</li> <li style="margin-bottom:10px;"><b>Invalid content:</b> The video or photo you have submitted is not related to this contest. Make sure you are uploading to the right place.</li> <li style="margin-bottom:10px;"><b>Inappropriate content:</b> Our moderators have deemed your content to be offensive or otherwise inappropriate.</li> <li style="margin-bottom:10px;"><b>Incompatible filetype:</b> The video or photo that you submitted isn't working on our end. It might be that you uploaded the wrong kind of file, or maybe the sound wasn't working.</li> <li><b>Duplicate:</b> You have uploaded the same content more than once. Please be patient, as our moderators will have your content posted shortly.</li> </ul> </p> </td> </tr> </table> <p style="font-size:12px;"> If you would like more information, visit the Frequently Asked Questions at http://contest.projects.fm/faq or email support at support@yourdomain.com. </p> </td> </tr> </table> </td> </tr> </table>

See Also: