示例#1
0
 public MailSender()
 {
     outlookApp = applicationCreator.GetOutlookApplication();
     projects   = projectScanner.RetrieveMatches();
     ccs        = new Person[] { supervisor1, supervisor2, interested1 };
     bccs       = new Person[] { interested2 };
 }
示例#2
0
        public IdFinder(Person p)
        {
            ApplicationCreator applicationCreator = new ApplicationCreator();

            outlookApp = applicationCreator.GetOutlookApplication();

            globalAddressList = outlookApp.Session.GetGlobalAddressList();
            person            = p;
        }