public EmailService(EmailSettings settings) { this.settings = settings; }
public EmailService() { settings = new EmailSettings(); }