I hereby claim:
- I am agarcian on github.
- I am agarcian (https://keybase.io/agarcian) on keybase.
- I have a public key ASB_Br--TuYVeVbKFPMWIdpzEdJk_hn8VVRcAjxTDBuRXgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
############################################# | |
## | |
## Monitor ASP.NET WebAPI Enpoints | |
## Author: Stefan Prodan | |
## Date : 7 Apr 2014 | |
## Company: VeriTech.io | |
############################################# | |
#Base url | |
$urlPrefix = "http://localhost/MyApp.Server/"; |
public class NotificationsHelper | |
{ | |
/// <summary> | |
/// Sends an email with a validation token to make sure the email is associated to the account for the user. Used when registering users. | |
/// </summary> | |
/// <param name="email">The email associated to the user account</param> | |
/// <param name="controllerContext">The context of the controller. (Required for processing the request)</param> | |
public static void SendEmailWithValidationToken(string email, System.Web.Mvc.ControllerContext controllerContext) | |
{ | |
MailMessage message = new MailMessage(); |