Esempio n. 1
0
 public static EmailTemplate GetTemplateForDependentPersonTopManagment(this IService <EmailTemplate> service, DependentPerson item, string MilestoneTitle, string Division, string createdBy)
 {
     return(new EmailTemplate("Initiative Hub : Task Assigned")
     {
         TemplateBody = "Dear " + item.DependentPersonName.Title + ", <br/>  The below Milestones has been commented by  " + createdBy + ".  <br/> " +
                        "This is for your information." +
                        "Milestone Title : " + MilestoneTitle + " <br/>" +
                        "Division : " + Division + " <br/> " +
                        "Status : " + item.Status.StatusDesc + "  <br/>" +
                        "Milestone Owner : " + item.DependentPersonName.Title + " <br/>" +
                        "Milestone Start Date :" + item.dStartDate + " <br/>" +
                        "Milestone End Date :" + item.dEndDate + " <br/>" +
                        "<a href='http://192.168.1.52:6090'>Click here</a> to login to Initiative Hub. <br/>" +
                        "This is auto generated mail, please do not reply. <br/>" +
                        "Pidilite Team"
     });
 }
Esempio n. 2
0
 public static EmailTemplate GetTemplateForDependentPerson(this IService <EmailTemplate> service, DependentPerson item, string MilestoneTitle, string Division, string createdBy)
 {
     return(new EmailTemplate("Initiative Hub : Task Assigned")
     {
         TemplateBody = "Dear " + item.DependentPersonName.Title + ", <br/> Initiative Hub : Task has been assigned with Below Details <br/> " +
                        "Milestone Title : " + MilestoneTitle + " <br/>" +
                        "Division : " + Division + " <br/> " +
                        "Created By : " + createdBy + "  <br/>" +
                        "Status :  " + item.Status.StatusDesc + "   <br/>" +
                        "<a href='http://192.168.1.52:6090'>Click here</a> to login to Initiative Hub. <br/>" +
                        "This is auto generated mail, please do not reply. <br/>" +
                        "Pidilite Team"
     });
 }