public decimal CreaMail(decimal idRichiedente, string oggetto, string corpo)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            return(a.CreaMail(idRichiedente, oggetto, corpo));
        }
        public void InsertMD_LOG(decimal IdMail, string TipoOperazione, string Nota)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.InsertMD_LOG(IdMail, TipoOperazione.ToUpper(), Nota.ToUpper());
        }
        public void InsertMD_LOG(string Nota)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.InsertMD_LOG(Nota);
        }
        public void FillMD_EMAILByStato(string Stato, MailDispatcherDS ds)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.FillMD_EMAILByStato(Stato, ds);
        }
        public void FillMD_ALLEGATI(MailDispatcherDS ds, decimal IDMAIL)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.FillMD_ALLEGATI(ds, IDMAIL);
        }
        public void UpdateMailDispatcherDSTable(string Tablename, MailDispatcherDS ds)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.UpdateMailDispatcherDSTable(Tablename, ds);
        }
        public void FillMD_RICHIEDENTI(MailDispatcherDS ds)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.FillMD_RICHIEDENTI(ds);
        }
        public void FillMD_GRUPPI_DESTINATARI(MailDispatcherDS ds)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.FillMD_GRUPPI_DESTINATARI(ds);
        }
        public void AggiungiAllegato(decimal IDMAIL, string filename, MemoryStream ms)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.AggiungiAllegato(IDMAIL, filename, ms);
        }
        public void SottomettiEmail(decimal IDMAIL)
        {
            MailDispatcherAdapter a = new MailDispatcherAdapter(DbConnection, DbTransaction);

            a.SottomettiEmail(IDMAIL);
        }