Sends a report to the specified E-Mail address which contains the following information:
- Total count of processed emails.
- Total count of sent emails.
- Total count of received emails.
- Total count of rejected emails.
- Total count of rejected emails for each Filter and Action.
###Usage
Get-RejectionReport -SMTPHost -ReportRecipient [-ReportSubject] [-NumberOfDaysToReport] [-ReportSender]
- SMTPHost
Mandatory. Specifies the SMTP Host which will be used to send the email.
- ReportRecipient
Mandatory. Specifies the Recipient of the email.
- ReportSubject
Optional. Specifies the Subject of the email. Default value is "Auswertung".
- NumberOfDaysToReport
Optional. Specifies the Number of days to report. Default value is "7".
- ReportSender
Optional. Specifies the Sender of the email. Default value is "NoSpamProxy Report Sender <[email protected]>".
###Example
.\Get-RejectionReport.ps1 -SMTPHost mail.example.com -ReportRecipient [email protected]
###Supported NoSpamProxy Versions This Script works for every NoSpamProxy version 11.x. NoSpamProxy version 12.x is NOT supported. For NoSpamProxy 12.x and higher please check https://github.com/noSpamProxy/Reports/tree/master/Get-RejectionReportNSP12x