diff --git a/ETS_Data/DataLayer_AnagGen.Designer.cs b/ETS_Data/DataLayer_AnagGen.Designer.cs index 52a5404..75b0f1a 100644 --- a/ETS_Data/DataLayer_AnagGen.Designer.cs +++ b/ETS_Data/DataLayer_AnagGen.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18033 +// Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -8234,7 +8234,7 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EM" + @@ -8242,37 +8242,43 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; - this._commandCollection[1].CommandText = "SELECT ATTIVO, COD_CDC, COD_LINGUA, COD_SOCIETA, COGNOME, DOMINIO, EMAIL, MATRICO" + - "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (MATRICOLA = @MATRICOLA)"; + this._commandCollection[1].CommandText = "SELECT *\r\nFROM UTENTE \r\nWHERE (COGNOME + \' \' + NOME) = @ricerca OR (NOME + \' \' + " + + "COGNOME = @ricerca)"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[2].Connection = this.Connection; this._commandCollection[2].CommandText = "SELECT ATTIVO, COD_CDC, COD_LINGUA, COD_SOCIETA, COGNOME, DOMINIO, EMAIL, MATRICO" + - "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (NOME LIKE \'%\' + @ricerca + \'%\') OR" + - " (COGNOME LIKE \'%\' + @ricerca + \'%\')"; + "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (MATRICOLA = @MATRICOLA)"; this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MATRICOLA", global::System.Data.SqlDbType.VarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, "MATRICOLA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[3].Connection = this.Connection; this._commandCollection[3].CommandText = "SELECT ATTIVO, COD_CDC, COD_LINGUA, COD_SOCIETA, COGNOME, DOMINIO, EMAIL, MATRICO" + - "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; + "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (NOME LIKE \'%\' + @ricerca + \'%\') OR" + + " (COGNOME LIKE \'%\' + @ricerca + \'%\')"; this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ricerca", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "NOME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4].Connection = this.Connection; - this._commandCollection[4].CommandText = "SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC," + - " EMAIL, SIGLA, COD_LINGUA, ATTIVO\r\nFROM UTENTE\r\n\r\nWHERE (USER_NAME = " + - "@username) AND (DOMINIO = @dominio)"; + this._commandCollection[4].CommandText = "SELECT ATTIVO, COD_CDC, COD_LINGUA, COD_SOCIETA, COGNOME, DOMINIO, EMAIL, MATRICO" + + "LA, NOME, SIGLA, USER_NAME FROM UTENTE WHERE (USER_NAME = @USER_NAME)"; this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@USER_NAME", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = @"SELECT UTENTE.ATTIVO, UTENTE.COD_CDC, UTENTE.COD_LINGUA, UTENTE.COD_SOCIETA, UTENTE.COGNOME, UTENTE.DOMINIO, UTENTE.EMAIL, UTENTE.MATRICOLA, UTENTE.NOME, UTENTE.SIGLA, UTENTE.USER_NAME FROM UTENTE INNER JOIN DIRITTI ON UTENTE.USER_NAME = DIRITTI.USER_NAME WHERE (DIRITTI.COD_MODULO = @COD_MODULO) AND (DIRITTI.COD_FUNZIONE = @COD_FUNZIONE)"; + this._commandCollection[5].CommandText = "SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC," + + " EMAIL, SIGLA, COD_LINGUA, ATTIVO\r\nFROM UTENTE\r\n\r\nWHERE (USER_NAME = " + + "@username) AND (DOMINIO = @dominio)"; this._commandCollection[5].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_MODULO", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "COD_MODULO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_FUNZIONE", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "COD_FUNZIONE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "USER_NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dominio", global::System.Data.SqlDbType.VarChar, 30, global::System.Data.ParameterDirection.Input, 0, 0, "DOMINIO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = @"SELECT UTENTE.ATTIVO, UTENTE.COD_CDC, UTENTE.COD_LINGUA, UTENTE.COD_SOCIETA, UTENTE.COGNOME, UTENTE.DOMINIO, UTENTE.EMAIL, UTENTE.MATRICOLA, UTENTE.NOME, UTENTE.SIGLA, UTENTE.USER_NAME FROM UTENTE INNER JOIN DIRITTI ON UTENTE.USER_NAME = DIRITTI.USER_NAME WHERE (DIRITTI.COD_MODULO = @COD_MODULO) AND (DIRITTI.COD_FUNZIONE = @COD_FUNZIONE)"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_MODULO", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "COD_MODULO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@COD_FUNZIONE", global::System.Data.SqlDbType.NVarChar, 31, global::System.Data.ParameterDirection.Input, 0, 0, "COD_FUNZIONE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -8303,8 +8309,25 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] - public virtual DataLayer_AnagGen.UTENTEDataTable getByMatricola(string MATRICOLA) { + public virtual DataLayer_AnagGen.UTENTEDataTable getByCognomeNome(string ricerca) { this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((ricerca == null)) { + throw new global::System.ArgumentNullException("ricerca"); + } + else { + this.Adapter.SelectCommand.Parameters[0].Value = ((string)(ricerca)); + } + DataLayer_AnagGen.UTENTEDataTable dataTable = new DataLayer_AnagGen.UTENTEDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DataLayer_AnagGen.UTENTEDataTable getByMatricola(string MATRICOLA) { + this.Adapter.SelectCommand = this.CommandCollection[2]; if ((MATRICOLA == null)) { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } @@ -8321,7 +8344,7 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DataLayer_AnagGen.UTENTEDataTable getByRicercaNomeCognome(string ricerca) { - this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand = this.CommandCollection[3]; if ((ricerca == null)) { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } @@ -8338,7 +8361,7 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DataLayer_AnagGen.UTENTEDataTable getByUserName(string USER_NAME) { - this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand = this.CommandCollection[4]; if ((USER_NAME == null)) { throw new global::System.ArgumentNullException("USER_NAME"); } @@ -8355,7 +8378,7 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DataLayer_AnagGen.UTENTEDataTable GetDataByUtenteDominio(string username, string dominio) { - this.Adapter.SelectCommand = this.CommandCollection[4]; + this.Adapter.SelectCommand = this.CommandCollection[5]; if ((username == null)) { throw new global::System.ArgumentNullException("username"); } @@ -8378,7 +8401,7 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DataLayer_AnagGen.UTENTEDataTable getElencoByDiritti(string COD_MODULO, string COD_FUNZIONE) { - this.Adapter.SelectCommand = this.CommandCollection[5]; + this.Adapter.SelectCommand = this.CommandCollection[6]; if ((COD_MODULO == null)) { throw new global::System.ArgumentNullException("COD_MODULO"); } diff --git a/ETS_Data/DataLayer_AnagGen.xsd b/ETS_Data/DataLayer_AnagGen.xsd index 143bef6..3fdc72f 100644 --- a/ETS_Data/DataLayer_AnagGen.xsd +++ b/ETS_Data/DataLayer_AnagGen.xsd @@ -4,9 +4,9 @@ - + - + @@ -590,6 +590,18 @@ SELECT DOMINIO, USER_NAME, COGNOME, NOME, COD_SOCIETA, MATRICOLA, COD_CDC, EMAIL + + + + SELECT * +FROM UTENTE +WHERE (COGNOME + ' ' + NOME) = @ricerca OR (NOME + ' ' + COGNOME = @ricerca) + + + + + + @@ -1306,14 +1318,14 @@ WHERE (User_Name = @User_Name) AND (Passwd = @Passwd) - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/ETS_Data/user_std.cs b/ETS_Data/user_std.cs index 438e355..3a05554 100644 --- a/ETS_Data/user_std.cs +++ b/ETS_Data/user_std.cs @@ -806,7 +806,7 @@ namespace ETS_Data return answ; } /// - /// restituisce cognome e nome di un utente dato username... + /// restituisce email di un utente dato username... /// /// username /// @@ -824,7 +824,7 @@ namespace ETS_Data return answ; } /// - /// restituisce cognome e nome di un utente dato username e dominio... + /// restituisce email di un utente dato username e dominio... /// /// username /// dominio @@ -843,6 +843,24 @@ namespace ETS_Data return answ; } /// + /// restituisce email di un utente dato username e dominio... + /// + /// Cognome Nome + /// + public string emailDaCognomeNome(string CognomeNome) + { + string answ = "-"; + try + { + DataLayer_AnagGen.UTENTERow riga = DataWrap.DW.taUtente.getByCognomeNome(CognomeNome)[0]; + answ = riga.EMAIL; + } + catch + { + } + return answ; + } + /// /// restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio... /// /// {dominio\}userName diff --git a/PROJ-ETS/PROJ-ETS/Web.ETS.config b/PROJ-ETS/PROJ-ETS/Web.ETS.config index 30d6534..2def253 100644 --- a/PROJ-ETS/PROJ-ETS/Web.ETS.config +++ b/PROJ-ETS/PROJ-ETS/Web.ETS.config @@ -15,7 +15,14 @@ --> + + + + + + + diff --git a/PROJ-ETS/PROJ-ETS/Web.config b/PROJ-ETS/PROJ-ETS/Web.config index 87c1536..be77a61 100644 --- a/PROJ-ETS/PROJ-ETS/Web.config +++ b/PROJ-ETS/PROJ-ETS/Web.config @@ -26,7 +26,7 @@ - + @@ -57,9 +57,19 @@ + + + + + + - - + + + + + + diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.cs index 01a6844..02ec6dc 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.cs @@ -5,11 +5,13 @@ using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ETS_Data; +using NLog; namespace PROJ_ETS.WebUserControls { public partial class mod_datiComm : System.Web.UI.UserControl { + protected Logger lg = LogManager.GetCurrentClassLogger(); /// /// caricamento pagina /// @@ -253,25 +255,72 @@ namespace PROJ_ETS.WebUserControls /// protected void btnEmailCC_Click(object sender, EventArgs e) { - string fromEmail = utils.obj.confReadString("_fromEmail"); - string adminEmail = utils.obj.confReadString("adminAnomalieEmail"); - string adminContinuatoEmail = utils.obj.confReadString("adminContinuatoEmail"); - string adminOreLavEmail = utils.obj.confReadString("adminOreLavEmail"); - string oggettoEmail = ""; - string corpoEmail = ""; - - oggettoEmail = "Anomalie GPW: Approvazione Timbrature"; - corpoEmail = string.Format("Risultano a sistema le seguenti anomalie:
timbrature da approvare

", memLayer.ML.confReadString("baseUrl")); - corpoEmail += string.Format("{0}
", SteamwareStrings.charLine('-', 80)); - corpoEmail += "| -- DATA --\t| Dipendente
"; - corpoEmail += string.Format("{0}
", SteamwareStrings.charLine('-', 80)); - foreach (DS_Applicazione.TimbratureExplRow riga in tabTimbExpl) - { - corpoEmail += string.Format("| {0:yyyy.MM.dd ddd}\t| {1}
", riga.dataLav, riga.CognomeNome); - } - corpoEmail += SteamwareStrings.charLine('-', 80); - gestEmail.geAuth.mandaEmail(fromEmail, adminEmail, oggettoEmail, corpoEmail); - //utils.obj.se + // dati x url documento + string urlEtsDip = utils.obj.confReadString("urlEtsDip"); + string urlPage = utils.obj.confReadString("urlPage"); + string param = utils.obj.confReadString("param"); + string urlDoc = ""; + // recupero dati commessa... + Ds_ProjEts.DatiCommessaRow rigaComm = null; + string ccEmail = ""; + string fromEmail = ""; + string adminEmail = ""; + string oggettoEmail = ""; + string corpoEmail = ""; + fromEmail = utils.obj.confReadString("_fromEmail"); + adminEmail = utils.obj.confReadString("destCcProjEmail"); + oggettoEmail = "Notifica assegnazione Commessa Proj-ETS"; + int idxCli = 0; + string nomeCli = ""; + try + { + rigaComm = (Ds_ProjEts.DatiCommessaRow)DataProxy_ProjEts.DP.taDC.GetData(idxFaseSel)[0]; + // recupero info sul capo commessa... + ccEmail = user_std.UtSn.emailDaCognomeNome(rigaComm.CapoCommessa); + // carico altri dati + idxCli = DataProxy_ProjEts.DP.taAP.getByIdxPrj(utils.obj.IntSessionObj("idxProgetto_sel"))[0].idxCliente; + nomeCli = DataProxy_ProjEts.DP.taSelCli.getByValue(idxCli)[0].label; + // preparo ed invio email + corpoEmail = string.Format("Buongiorno {0} ({1}),

La presente per informarti che sei stato designato CC per la seguente Commessa:

", rigaComm.CapoCommessa, ccEmail); + corpoEmail += "----------------------------------------------------------
"; + corpoEmail += string.Format("{0:####}-{1} - {2}
", rigaComm.NumeroCommessa, rigaComm.AnnoCommessa, rigaComm.nickname); + corpoEmail += string.Format("{0}
", rigaComm.NomeComm); + corpoEmail += "----------------------------------------------------------
"; + corpoEmail += string.Format("cliente: {0}
", nomeCli); + corpoEmail += string.Format("importo: {0:C2}
", rigaComm.Importo); + } + catch + { + lg.Error("Errore: non è stato possibile recuperare i dati di commessa"); + } + // cerco di recuperare altri dati + try + { + urlDoc = string.Format(@"{0}/{1}?{2}={3}", urlEtsDip, urlPage, param, rigaComm.urlOfferta); + corpoEmail += string.Format("rif offerta: {0}
", rigaComm.rifOfferta, urlDoc); + } + catch + { } + // cerco di recuperare altri dati + try + { + urlDoc = string.Format(@"{0}/{1}?{2}={3}", urlEtsDip, urlPage, param, rigaComm.urlOrdine); + corpoEmail += string.Format("rif ordine: {0}
", rigaComm.rifOrdine, urlDoc); + //corpoEmail += "-----------------------------
"; + //corpoEmail += string.Format("
clicca qui per completare i dati relativi alle fasi e stabilire il BCWS", utils.obj.confReadString("baseUrl")); + } + catch + { } + //invio email + try + { + // email al CC + ETS_Data.utils.gestEmail.geAuth.mandaEmail(fromEmail, ccEmail, oggettoEmail, corpoEmail); + // email ai resp a latere + ETS_Data.utils.gestEmail.geAuth.mandaEmail(fromEmail, adminEmail, oggettoEmail, corpoEmail); + } + catch + { } } } } \ No newline at end of file diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekVerify.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekVerify.ascx.cs index 0c47115..3faf679 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekVerify.ascx.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekVerify.ascx.cs @@ -178,7 +178,8 @@ namespace PROJ_ETS.WebUserControls } catch (Exception exc) { - lg.ErrorException("Errore lettura dati IR", exc); + // troppi falsi allarmi... + if (false) lg.ErrorException("Errore lettura dati IR", exc); } try { diff --git a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll index c7e4c00..75bbf91 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll and b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll differ diff --git a/PROJ-ETS/PROJ-ETS/bin/NLog.dll b/PROJ-ETS/PROJ-ETS/bin/NLog.dll index c23e27d..b0cefe5 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/NLog.dll and b/PROJ-ETS/PROJ-ETS/bin/NLog.dll differ diff --git a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll index 5db91c9..20bcb82 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll differ