Sends a report to every E-Mail address that contains all permanently blocked E-Mails in a specific period of time that have been blocked because of an attachment. The report contains:
- DeliveryStartTime
- Sender address
- Subject
- Name of blocked file
Send-ReporttoUserswithBlockedEmailsWithAttachment -SMTPHost [-NumberOfDaysToReport] [-ReportSender] [-ReportSubject]
- SMTPHost: Mandatory. Specifies the SMTP Host which will be used to send the email.
- NumberOfDaysToReport: Optional. Specifies the Number of days to report. Default value is "1".
- ReportSender: Optional. Specifies the Sender of the email. Default value is "NoSpamProxy Report Sender [email protected]".
- ReportSubject: Optional. Specifies the Subject of the email. Default value is "Auswertung".
- TenantPrimaryDomain: Necessary to use if the provider mode for v14 is enabled. It specifies the desired tenant for the runtime environment.
.\Send-ReporttoUserswithBlockedEmailsWithAttachment.ps1 -SMTPHost mail.example.com`
This Script works for NoSpamProxy 12.x or later.