Beispiel #1
0
 public SendingEmailCheck(SmtpSettings smtpSettings)
 {
     SmtpSettings = smtpSettings;
 }
        /// <summary>
        /// Adds an SmtpSettings to the SmtpSettings collection.
        /// </summary>
        /// <param name="smtpSettings">Contains details about an Smtp server to check.</param>
        /// <returns>Itself.</returns>
        private DobermanConfiguration CheckEmail(SmtpSettings smtpSettings)
        {
            if (smtpSettings != null)
                SmtpSettings.Add(smtpSettings);

            return this;
        }