void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetTempUserDetailsByWebId(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "KOD ROYAL CARD TEAM"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Royal Card Membership Mail"; string BodyMaggage = "<div style='height:990px; width:700px; background:url(http://royalty.kingdomofdreams.in/Skins/images/EmailerBg.jpg) no-repeat;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold;'>" + "<p> Your holiness <b> " + Toname.ToString() + "</b> </p><p>, Thank you for enrolling with the Royal council, redeem a world of exclusivity! </p>" + "<p> Your Web Booking Id is :<b> " + webid.ToString() + "</b></p>" + "<p> Your activation details will be with you soon. </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); } }
// EntityServiceReference.EntityServiceClient ServiceClientInsert = new EntityServiceReference.EntityServiceClient(); // ServiceClientInsert.Open(); // var confirm = ServiceClientInsert.InsertUserDetails(WebMemberId, RdGender.SelectedValue.ToString(), txtFirstName.Text.ToString(), txtLastName.Text.ToString(), txtAddress.Text.ToString(), txtAddress.Text.ToString(), txtCity.Text.ToString(), DdlCountry.SelectedItem.Text.ToString(), txtMobileNo.Text.ToString(), txtMobileNo.Text.ToString(), txtEmailId.Text.ToString(), dtdob, dtdoa, RdMartialStatus.SelectedValue.ToString(), Gender, paidamount, DateTime.Now, "0", "-", txtEmailId.Text.ToString(), txtPassword.Text.ToString(), txtDesignation.Text.ToString(), false, false); // //// Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); // if (confirm.Length > 0) // { // WebMemberId = confirm[0].tempwebid.Value.ToString(); // } // ServiceClientInsert.Close(); // } // catch (Exception ex) // { // LblMsg.Text = ex.Message; // } // //go for payment // if (WebMemberId != "" && WebMemberId != null) // { // Response.Redirect("PGDetails.aspx?Type=signup&WebId=" + WebMemberId.ToString()); // } //} void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetTempUserDetailsByWebId(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "Royal Card Programme"; objmaildata.CCto = "*****@*****.**"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Welcome to the world of Royalty and exclusivity"; string BodyMaggage = "<div style='height:990px; width:700px;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial;'>" + "<p align=left> Website Enrollment No: " + webid.ToString() + "</p>" + "<p align=left> Dear " + Toname.ToString() + "</p><p>Congratulations! We are delighted to welcome you to The Royal Card membership program of Kingdom of Dreams. The programme has been thoughtfully designed to offer you an unmatched experience to fulfill your entertainment needs.</p>" + "<p>As a Royal Purple Card member, you have access to a world of privileges and services which includes, amongst others, like separate entry podium into Kingdom of Dreams, bonus points on special occasions, upgrade vouchers and much more!</p>" + "<p><b>Your membership card will be delivered to you in person on your visit to Kingdom of Dreams. Please carry a copy of this email along with yourself for verification purpose.</b></p>" + "<p>We look forward to an enduring association with you. Please find attached detailed benefits of the membership programme.</p>" + "<p align=left>Sincerely,<br/>Loyalty Department, Kingdom of Dreams<br/>Tel: 0124-4847435<br/>Email Id: [email protected]<br/>Website: http://royalty.kingdomofdreams.in</p>" + "<p>*All the benefits and privileges of Royal Membership Card can be availed only after receiving Royal Card. Please collect your card from Kingdom of Dreams and present your card before each transaction you made at Kingdom of Dreams. </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); // send sign up SMS SendSignUpSMS(webid.ToString(), ToMobile.ToString()); } }
void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetUserDetails(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "Royal Card Programme"; objmaildata.CCto = "*****@*****.**"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Welcome to the world of Royalty and exclusivity"; string BodyMaggage = "<div style='height:990px; width:700px;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold;'>" // + "<p align=left> Reference No: <b> " + webid.ToString() + "</b></p>" + "<p align=left> Dear <b> " + Toname.ToString() + "</b></p><p><b>Your Details Have Successfully Modified.</b></p>" // + "<p>Your membership card is under process. You shall soon receive a call from our loyalty cell, informing you </br>about the details of your membership. </p>" // + "<p>We look forward to an enduring association with you. Please find below the details of privileges & </br>benefits of your membership.</p>" // + "<p align=left>Sincerely,</p>" + "<p align=left>Loyalty Department,Kingdom of Dreams </p>" + "<p align=left>Tel: 0124-4847435</p>" + "<p align=left>Email: [email protected] </p>" + "<p align=left>Website: royalty.kingdomofdreams.co.in </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); } }
void HTMLTopUpMailer(String transId, String TransAmt) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); if (Session["RegId"] != null && Session["RegId"] != "") { var arr = ServiceClient.GetUserDetails(Session["RegId"].ToString()); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String webid = arr[0].MemberID.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "KOD ROYAL CARD TEAM"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Royal Card Top Up Mail"; string BodyMaggage = "<div style='height:770px; width:727px; background:url(http://royalty.kingdomofdreams.in/Skins/images/Emailer2.jpg) no-repeat;'>" + "<div style='text-align:center; padding:260px 290px 50px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold; font-size:14px;'>" + "Your holiness " + webid.ToString() + ",<br/>" + "Your account is successfully credited with Rs. " + TransAmt.ToString() + " /- with transaction id " + transId.ToString() + "</div></div>" ; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); // send SMS SendTopUpSMS(webid, ToMobile, transId, TransAmt); } } }
// EntityServiceReference.EntityServiceClient ServiceClientInsert = new EntityServiceReference.EntityServiceClient(); // ServiceClientInsert.Open(); // var confirm = ServiceClientInsert.InsertUserDetails(WebMemberId, RdGender.SelectedValue.ToString(), txtFirstName.Text.ToString(), txtLastName.Text.ToString(), txtAddress.Text.ToString(), txtAddress.Text.ToString(), txtCity.Text.ToString(), DdlCountry.SelectedItem.Text.ToString(), txtMobileNo.Text.ToString(), txtMobileNo.Text.ToString(), txtEmailId.Text.ToString(), dtdob, dtdoa, RdMartialStatus.SelectedValue.ToString(), Gender, paidamount, DateTime.Now, "0", "-", txtEmailId.Text.ToString(), txtPassword.Text.ToString(), txtDesignation.Text.ToString(), false, false); // //// Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); // if (confirm.Length > 0) // { // WebMemberId = confirm[0].tempwebid.Value.ToString(); // } // ServiceClientInsert.Close(); // } // catch (Exception ex) // { // LblMsg.Text = ex.Message; // } // //go for payment // if (WebMemberId != "" && WebMemberId != null) // { // Response.Redirect("PGDetails.aspx?Type=signup&WebId=" + WebMemberId.ToString()); // } //} void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetTempUserDetailsByWebId(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "Royal Card Programme"; objmaildata.CCto = "*****@*****.**"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Welcome to the world of Royalty and exclusivity"; string BodyMaggage = "<div style='height:990px; width:700px;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial;'>" + "<p align=left> Website Enrollment No: " + webid.ToString() + "</p>" + "<p align=left> Dear " + Toname.ToString() + "</p><p>Congratulations! We are delighted to welcome you to The Royal Card membership program of Kingdom of Dreams. The programme has been thoughtfully designed to offer you an unmatched experience to fulfill your entertainment needs.</p>" + "<p>As a Royal Purple Card member, you have access to a world of privileges and services which includes, amongst others, like separate entry podium into Kingdom of Dreams, bonus points on special occasions, upgrade vouchers and much more!</p>" + "<p><b>Your membership card will be delivered to you in person on your visit to Kingdom of Dreams. Please carry a copy of this email along with yourself for verification purpose.</b></p>" + "<p>We look forward to an enduring association with you. Please find attached detailed benefits of the membership programme.</p>" + "<p align=left>Sincerely,<br/>Loyalty Department, Kingdom of Dreams<br/>Tel: 0124-4847435<br/>Email Id: [email protected]<br/>Website: http://royalty.kingdomofdreams.in</p>" + "<p>*All the benefits and privileges of Royal Membership Card can be availed only after receiving Royal Card. Please collect your card from Kingdom of Dreams and present your card before each transaction you made at Kingdom of Dreams. </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); // send sign up SMS SendSignUpSMS(webid.ToString(), ToMobile.ToString()); } }
void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetTempUserDetailsByWebId(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "KOD ROYAL CARD TEAM"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Royal Card Membership Mail"; string BodyMaggage = "<div style='height:990px; width:700px; background:url(http://royalty.kingdomofdreams.in/Skins/images/EmailerBg.jpg) no-repeat;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold;'>" + "<p> Your holiness <b> " + Toname.ToString() + "</b> </p><p>, Thank you for enrolling with the Royal council, redeem a world of exclusivity! </p>" + "<p> Your Web Booking Id is :<b> " + webid.ToString() + "</b></p>" + "<p> Your activation details will be with you soon. </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); } }
void HTMLSignUpMailer(String webid) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); var arr = ServiceClient.GetUserDetails(webid); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "Royal Card Programme"; objmaildata.CCto = "*****@*****.**"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Welcome to the world of Royalty and exclusivity"; string BodyMaggage = "<div style='height:990px; width:700px;'>" + "<div style='padding:380px 20px 20px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold;'>" // + "<p align=left> Reference No: <b> " + webid.ToString() + "</b></p>" + "<p align=left> Dear <b> " + Toname.ToString() + "</b></p><p><b>Your Details Have Successfully Modified.</b></p>" // + "<p>Your membership card is under process. You shall soon receive a call from our loyalty cell, informing you </br>about the details of your membership. </p>" // + "<p>We look forward to an enduring association with you. Please find below the details of privileges & </br>benefits of your membership.</p>" // + "<p align=left>Sincerely,</p>" + "<p align=left>Loyalty Department,Kingdom of Dreams </p>" + "<p align=left>Tel: 0124-4847435</p>" + "<p align=left>Email: [email protected] </p>" + "<p align=left>Website: royalty.kingdomofdreams.co.in </p>"; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); } }
void HTMLTopUpMailer(String transId, String TransAmt) { RoyalWebApp.EntityServiceReference.EntityServiceClient ServiceClient = new RoyalWebApp.EntityServiceReference.EntityServiceClient(); ServiceClient.Open(); if (Session["RegId"] != null && Session["RegId"] != "") { var arr = ServiceClient.GetUserDetails(Session["RegId"].ToString()); if (arr.Length > 0) { String Toname = arr[0].FirstName + " " + arr[0].LastName; String Toemail = arr[0].Email.ToString(); String webid =arr[0].MemberID.ToString(); String ToMobile = arr[0].Mobile.ToString(); ServiceClient.Close(); // Mailer(txtEmailId.Text.ToString(), WebMemberId, txtFirstName.Text.ToString() + txtLastName.Text.ToString(), txtPassword.Text.ToString()); RoyalWebApp.MailServer objMail = new RoyalWebApp.MailServer(); RoyalWebApp.MailData objmaildata = new RoyalWebApp.MailData(); objmaildata.from = "*****@*****.**"; objmaildata.fromName = "KOD ROYAL CARD TEAM"; //objmaildata.to = "*****@*****.**"; objmaildata.to = Toemail.ToString(); objmaildata.toName = Toname.ToString(); objmaildata.subject = "Royal Card Top Up Mail"; string BodyMaggage = "<div style='height:770px; width:727px; background:url(http://royalty.kingdomofdreams.in/Skins/images/Emailer2.jpg) no-repeat;'>" + "<div style='text-align:center; padding:260px 290px 50px 65px; font-family:Palatino Linotype, Century Gothic, Arial; font-weight:bold; font-size:14px;'>" + "Your holiness " + webid.ToString() + ",<br/>" + "Your account is successfully credited with Rs. " + TransAmt.ToString() + " /- with transaction id " + transId.ToString() + "</div></div>" ; objmaildata.bodyMessage = BodyMaggage; objMail.SendMailKOD(objmaildata); // send SMS SendTopUpSMS(webid, ToMobile, transId, TransAmt); } } }