This commit is contained in:
jnunez 2018-06-25 22:00:15 +00:00
parent 686c4f0164
commit 5fb2247ad8
2 changed files with 7 additions and 0 deletions

View file

@ -178,7 +178,9 @@ namespace AYA.SlnSinort.WCF
try try
{ {
//Obtener parametros //Obtener parametros
ServiciosUsuariosWCF.ServicioUsuariosClient respuestaAyA = new ServiciosUsuariosWCF.ServicioUsuariosClient(); ServiciosUsuariosWCF.ServicioUsuariosClient respuestaAyA = new ServiciosUsuariosWCF.ServicioUsuariosClient();
ServiciosUsuariosWCF.correoEL correo = new ServiciosUsuariosWCF.correoEL(); ServiciosUsuariosWCF.correoEL correo = new ServiciosUsuariosWCF.correoEL();
Listaplantillas = PlantillalDAL.ObtenerPlantillasEmail(); Listaplantillas = PlantillalDAL.ObtenerPlantillasEmail();
@ -186,6 +188,7 @@ namespace AYA.SlnSinort.WCF
usuario = UsuarioDAL.BuscarUsuario(catalogo); usuario = UsuarioDAL.BuscarUsuario(catalogo);
//Envio correo analista //Envio correo analista
plantilla = Listaplantillas.Where(p => p.IdPlantilla == 1).FirstOrDefault(); plantilla = Listaplantillas.Where(p => p.IdPlantilla == 1).FirstOrDefault();
correo.FORMATO = "html"; correo.FORMATO = "html";
correo.ASUNTO = plantilla.Subject.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo); correo.ASUNTO = plantilla.Subject.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo);

View file

@ -22,6 +22,10 @@
<add key="webpages:Enabled" value="false" /> <add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" /> <add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="FileRepository" value="C:\AYA_RESPALDO\Archivos\" />
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/Archivos/" />
<add key="MaxSizeFileLoadKB" value="5120" />
<add key="MaxCountFileLoad" value="3" />
</appSettings> </appSettings>
<system.web> <system.web>
<authentication mode="None" /> <authentication mode="None" />