예제 #1
0
        public string ReminderMail()
        {
            var date     = string.Format("Due Date : {0}", DueDate.ToString("ddd, dd MMM yyyy"));
            var composer = new HtmlComposer();

            composer.AppendDiv("This is gentle reminder for the task assigned to you.")
            .AppendHead("Task : " + Title)
            .AppendDiv(date)
            .AppendDiv("Click the below link for more details")
            .AppendLink(Routes.ActivityUrl(ActivityId), Routes.ActivityUrl(ActivityId));
            return(composer.Text.ToString());
        }