コード例 #1
0
        //Customizado para essa classe especifica
        public UtilRetorno enviar(ContatoPortal OContato)
        {
            Dictionary <string, object> infos = new Dictionary <string, object>();

            infos["nome"] = OContato.nome;

            infos["email"] = OContato.email;

            infos["telefone"] = !String.IsNullOrEmpty(OContato.telefone) ? OContato.telefone : "-";

            infos["assunto"] = OContato.assunto;

            infos["mensagem"] = UtilString.removeHtml(OContato.mensagem);

            return(this.enviar(infos));
        }