C# Class WebApplication4.Controllers.EmailController

Show file Open project: Rxcso/PrototipoSoftware Class Usage Examples

Public Properties

Property Type Description
SmtpServer System.Net.Mail.SmtpClient
credentials System.Net.NetworkCredential
db WebApplication4.Models.inf245netsoft

Public Methods

Method Description
EnviarCorreoCompra ( int idVenta, string correo ) : void
EnviarCorreoPostergarcionFuncion ( int codFuncion ) : void
EnviarCorreoRegistro ( string correo ) : void
EnviarCorreoReserva ( int idVenta, string correo ) : void

Method Details

EnviarCorreoCompra() public static method

public static EnviarCorreoCompra ( int idVenta, string correo ) : void
idVenta int
correo string
return void

EnviarCorreoPostergarcionFuncion() public static method

public static EnviarCorreoPostergarcionFuncion ( int codFuncion ) : void
codFuncion int
return void

EnviarCorreoRegistro() public static method

public static EnviarCorreoRegistro ( string correo ) : void
correo string
return void

EnviarCorreoReserva() public static method

public static EnviarCorreoReserva ( int idVenta, string correo ) : void
idVenta int
correo string
return void

Property Details

SmtpServer public static property

public static SmtpClient,System.Net.Mail SmtpServer
return System.Net.Mail.SmtpClient

credentials public static property

public static NetworkCredential,System.Net credentials
return System.Net.NetworkCredential

db public static property

public static inf245netsoft,WebApplication4.Models db
return WebApplication4.Models.inf245netsoft