You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//changed the 'from' emailId from beehyv domain address to govt domain address
63
63
Stringemail = tokenItems[0];
64
64
Stringpassword = tokenItems[1];
65
-
EmailInfonewMail = newEmailInfo();
66
-
newMail.setFrom("nsp-reports@beehyv.com");
67
-
newMail.setTo(email);
68
-
Calendarc = Calendar.getInstance(); // this takes current date
69
-
c.add(Calendar.MONTH, -1);
70
-
c.set(Calendar.DATE, 1);
71
-
newMail.setSubject("Reset Password for MIS Portal");
72
-
newMail.setBody("Dear user,<br/><br/><p>As per your request, your password has been reset to: <b>" +
73
-
password +
74
-
"</b></p><br/><p>Once you login to the MIS portal with the above password, the system will direct you to change the default password as it is mandatory.</p><br/>" +
75
-
"<p>Thanks,</p>" +
76
-
"<p>NSP Support</p>");
77
-
returnemailService.sendMailPassword(newMail);
65
+
Stringsubject = "Reset Password for MIS Portal";
66
+
Stringmessage = "\"Dear user,<br/><br/><p>As per your request, your password has been reset to: <b>" +
67
+
password +
68
+
"</b></p><br/><p>Once you login to the MIS portal with the above password, the system will direct you to change the default password as it is mandatory.</p><br/>" +
// Calendar c = Calendar.getInstance(); // this takes current date
88
+
// c.add(Calendar.MONTH, -1);
89
+
// c.set(Calendar.DATE, 1);
90
+
// newMail.setSubject("Reset Password for MIS Portal");
91
+
// newMail.setBody("Dear user,<br/><br/><p>As per your request, your password has been reset to: <b>" +
92
+
// password +
93
+
// "</b></p><br/><p>Once you login to the MIS portal with the above password, the system will direct you to change the default password as it is mandatory.</p><br/>" +
0 commit comments