public MailSender() { outlookApp = applicationCreator.GetOutlookApplication(); projects = projectScanner.RetrieveMatches(); ccs = new Person[] { supervisor1, supervisor2, interested1 }; bccs = new Person[] { interested2 }; }
public IdFinder(Person p) { ApplicationCreator applicationCreator = new ApplicationCreator(); outlookApp = applicationCreator.GetOutlookApplication(); globalAddressList = outlookApp.Session.GetGlobalAddressList(); person = p; }