Example #1
0
 public EmailBuilder(ConfiguracaoEmail configuracaoEmail)
 {
     _configuracaoEmail = configuracaoEmail;
     _destinatarios     = new List <MailAddress>();
     _copia             = new List <MailAddress>();
     _anexos            = new List <string>();
 }
 public ConfiguracaoApp()
 {
     CfgServico = ConfiguracaoServico.Instancia;
     CfgServico.tpAmb = TipoAmbiente.taHomologacao;
     CfgServico.tpEmis = TipoEmissao.teNormal;
     Emitente = new emit {CPF = "", CRT = CRT.SimplesNacional};
     EnderecoEmitente = new enderEmit();
     ConfiguracaoEmail = new ConfiguracaoEmail("*****@*****.**", "senha", "Envio de NFE", Resources.MensagemHtml, "smtp.dominio.com", 587, true, true);
     ConfiguracaoCsc = new ConfiguracaoCsc("000001", "");
 }
 public EmailBuilder(ConfiguracaoEmail configuracaoEmail)
 {
     _configuracaoEmail = configuracaoEmail;
     _destinatarios = new List<string>();
     _anexos = new List<string>();
 }