Пример #1
0
        public EmailCredential()
        {
            serviceParametro = new Salao.Domain.Service.Admin.SistemaParametroService();

            UseSsl = Convert.ToBoolean(GetParametro("EMAIL_USESSL"));
            ServerSmtp = GetParametro("EMAIL_SERVERSMTP");
            ServerPort = Convert.ToInt32(GetParametro("EMAIL_SERVERPORT"));
            Sender = GetParametro("EMAIL_SENDER");
            SenderPassword = GetParametro("EMAIL_SENDERPASSWORD");
        }
Пример #2
0
        public EmailCredential()
        {
            serviceParametro = new Salao.Domain.Service.Admin.SistemaParametroService();

            UseSsl         = Convert.ToBoolean(GetParametro("EMAIL_USESSL"));
            ServerSmtp     = GetParametro("EMAIL_SERVERSMTP");
            ServerPort     = Convert.ToInt32(GetParametro("EMAIL_SERVERPORT"));
            Sender         = GetParametro("EMAIL_SENDER");
            SenderPassword = GetParametro("EMAIL_SENDERPASSWORD");
        }