/// <summary> /// Sends a link to a post to a friend. /// ${message.to} /// ${message.from} /// ${message.subject} /// ${message.briefmessage} /// ${from.name} /// ${post.url} /// ${post.title} /// ${friend.name} /// ${friend.email} /// </summary> /// <param name="placeHolderValues">Dictionary of keys representing the names of the /// placeholders to replace in the content file.</param> public void SendToFriendPost(NotificationContext ctx) { Notify(new NotificationMessage( ctx.Values, ctx.Values["message.to"], string.Empty, ctx.Values["message.subject"], "SendWebSitePost")); }
/// <summary> /// Submits the feedback notification. /// ${message.to} /// ${message.from} /// ${message.subject} /// ${message.briefmessage} /// ${from.name} /// ${post.url} /// ${post.title} /// ${friend.name} /// ${friend.email} /// </summary> /// <param name="ctx"></param> public void RemindUserPassword(NotificationContext ctx) { Notify(new NotificationMessage(ctx.Values, ctx.Values["message.to"], string.Empty, ctx.Values["message.subject"], "ForgotPassword")); }
/// <summary> /// Submits the feedback notification. /// ${message.to} /// ${message.from} /// ${message.subject} /// ${message.briefmessage} /// ${from.name} /// ${post.url} /// ${post.title} /// ${friend.name} /// ${friend.email} /// </summary> /// <param name="feedBack"></param> public void SubmitFeedBack(NotificationContext ctx) { Notify(new NotificationMessage( ctx.Values, ctx.Values["message.to"], string.Empty, ctx.Values["message.subject"], "SubmitFeedback")); }
/// <summary> /// Welcome new user using Notification context. /// </summary> /// <param name="ctx"></param> public void WelcomeNewUser(NotificationContext ctx) { Notify(new NotificationMessage(ctx.Values, ctx.Values["message.to"], string.Empty, ctx.Values["message.subject"], "WelcomeNewUser")); }