User Tools

Site Tools


reference:quarantine_mailer_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reference:quarantine_mailer_script [2026/05/20 12:00] – [GetSortOrder] paulreference:quarantine_mailer_script [2026/05/26 13:55] (current) – [GetSortOrder] paul
Line 38: Line 38:
   * Size   * Size
   * Score   * Score
 +  * SenderDomain
  
 quarantineItems is a table of items, where each is: quarantineItems is a table of items, where each is:
Line 59: Line 60:
 ====GetHtmlTemplate==== ====GetHtmlTemplate====
  
-  function GetHtmlTemplate(username, quarantineItems, numberOfItems, limitReached)+  function GetHtmlTemplate(templateName, defaultFilename, username, quarantineItems, numberOfItems, limitReached) 
 +   
 +  * templateName = internal name ('root' or as passed in '~include~' directive) 
 +  * defaultFilename = filename to be used by VPOP3 if nothing is returned by the function
      
 returns filename, templateContents returns filename, templateContents
Line 123: Line 127:
   * ~comment~<data>~end~ - removed during processing - useful for comments for later reference when maintaining the template   * ~comment~<data>~end~ - removed during processing - useful for comments for later reference when maintaining the template
  
 +====GetReportRecipients====
 +
 +  function GetReportRecipients(username, globalRecipients, userRecipients, recipients, subject)
 +
 +  * globalRecipients = global "Send all quarantine reports to" setting
 +  * userRecipients = User -> Advanced "Daily Quarantine Report Recipient" setting
 +  
 +returns newRecipients, newSubject
 +
 +  * newRecipients = comma separated list of recipients. * will be replaced by the username
reference/quarantine_mailer_script.1779274832.txt.gz · Last modified: by paul