This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:quarantine_mailer_script [2026/05/20 12:00] – [GetSortOrder] paul | reference: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, | + | function GetHtmlTemplate(templateName, |
| + | |||
| + | * templateName = internal name (' | ||
| + | * 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~< | * ~comment~< | ||
| + | ====GetReportRecipients==== | ||
| + | |||
| + | function GetReportRecipients(username, | ||
| + | |||
| + | * globalRecipients = global "Send all quarantine reports to" setting | ||
| + | * userRecipients = User -> Advanced "Daily Quarantine Report Recipient" | ||
| + | | ||
| + | returns newRecipients, | ||
| + | |||
| + | * newRecipients = comma separated list of recipients. * will be replaced by the username | ||