git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C98
This commit is contained in:
parent
576565e4c3
commit
50f3ddfe84
1 changed files with 21 additions and 1 deletions
|
|
@ -114,6 +114,26 @@ namespace AYA.SlnSinort.WCF
|
||||||
//}
|
//}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region WCFAYA Envio Correo
|
||||||
|
public int EnviarCorreo()
|
||||||
|
{
|
||||||
|
int respuesta = 0;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ServiciosUsuariosWCF.ServicioUsuariosClient respuestaAyA = new ServiciosUsuariosWCF.ServicioUsuariosClient();
|
||||||
|
ServiciosUsuariosWCF.correoEL correo = new ServiciosUsuariosWCF.correoEL();
|
||||||
|
correo.ASUNTO = "Proyecto Normativo ";
|
||||||
|
correo.DESTINATARIOS = "jnunez@atesacr.com";
|
||||||
|
correo.CUERPO = "prueba";
|
||||||
|
respuesta = respuestaAyA.enviarCorreo(correo);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
return respuesta;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue