Help for this page

Select Code to Download


  1. or download this
    
    $Inbox = $ns->GetDefaultFolder(olFolderInbox);    #Set Inbox = ns.GetD
    +efaultFolder(olFolderInbox)
    
  2. or download this
    
     if ($Inbox->Items->$Count = 0) {          #If Inbox.Items.Count = 0 T
    +hen
    
  3. or download this
    
        foreach ($Inbox->Items){     #For Each Item In Ibox.Items
    
  4. or download this
    
    Option Explicit
    ...
    End Sub