git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C116
This commit is contained in:
parent
686c4f0164
commit
5fb2247ad8
2 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue