Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. if ($i) {
  2.     if ($i.Name -eq "STS-Exclude-Sender"){
  3.         $x = $i.HeaderMatchesPatterns;
  4.         $ExceptionsEmail += $x
  5.     } elif ($i.Name -eq "STS-Domain-Spoof-Protection"){
  6.         $x = $i.ExceptIfSenderIpRanges;
  7.         $ExceptionsIP += $x
  8.     } else {
  9.         $x = $i.ExceptIfFrom -ErrorAction SilentlyContinue;
  10.         $ExceptionsEmail += $x
  11.     }
  12.     Write-Host "'.$yellowO.'[info]'.$cspan.' '.$row['name'].' exists, updating exceptions."
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement