title: How do I use OnQueueComplete event in uploadify/uploadifive to send an email on queue complete?
body: <p>I am using uploadify/uploadifive to manage uploads to my site.  I would like to send an email each time the upload queue has completed. Both uploadify and uploadifive have an <a href="http://www.uploadify.com/documentation/uploadifive/onqueuecomplete-2/" rel="nofollow">OnQueueComplete event</a>, with arguments that can be passed, e.g. 'count' returns the total number of uploads, so I presume that I would use this to trigger a PHP script which sends the email, but I am not sure how to do this and how to pass the 'count' argument to the script.  Here is an example of the way onQueueComplete is used:</p>
  
  <pre><code>'onQueueComplete' : function(uploads) {
              alert(uploads.successful + ' files were uploaded successfully.');
          }
  </code></pre>