示例#1
0
 private void InstructMailMan( IConfigReader configReader )
 {
    var recipients = configReader.GetSetting( K_RecipientsKey );
    if ( string.IsNullOrEmpty(recipients ))
    {
       throw new ApplicationException( "Recipients Key is empty" );
    }
    MailMan.AddRecipients( recipients );
 }