protected void SendEmail() { objEmail.To = BALuser.GetEmail(); objEmail.Subject = "Welcome To shaadisaagai.com"; objEmail.Host = "mail.shaadisaagai.com"; objEmail.sendTemplateMSg(lblUser.Text + "(" + Session["uid_gender"].ToString().Split('_')[0] + ")", Server.MapPath("MSGTemplates\\WelcomeMSG1.txt"), Server.MapPath("MSGTemplates\\WelcomeMSG2.txt")); }
protected void Button1_Click1(object sender, EventArgs e) { objEmail.To = "*****@*****.**"; objEmail.Subject = "Welcome To shaadisaagai.com"; objEmail.Host = "mail.shaadisaagai.com"; objEmail.sendTemplateMSg("Vivek Tiwari", Server.MapPath("MSGTemplates\\WelcomeMSG1.txt"), Server.MapPath("MSGTemplates\\WelcomeMSG2.txt")); ucMessage.ShowMessage(Message.Text.SUCCESS_SERVER, Message.Type.success.ToString()); }
protected void SendEmail() { objBal = ObjDal.GetDetail(objBal); objEmail.To = txtEmail1.Text.Trim(); objEmail.Subject = "Password From shaadisaagai.com"; objEmail.Host = "shaadisaagai.com"; objEmail.sendTemplateMSg("<br>UserID :- <b>" + objBal.User_Id + "</b> <br>Password :-<b>" + objBal.Password + "</b>", Server.MapPath("MSGTemplates\\WelcomeMSG1.txt"), Server.MapPath("MSGTemplates\\WelcomeMSG2.txt")); }