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
"Hi "+mail.getUserFirstName(member)+",<br/><br/>Your "+company+" account on <a href='"+host+"'>"+host+"</a> is created with the following details;<br/><br/>Username: "+member.username+"<br/>Password: "+memberPassword+"<br/><br/>Enjoy,<br/>A fellow "+company+" Admin");
mail.sendMessage(member.email,""+company+" Account - Password Change","Hi "+mail.getUserFirstName(member)+",<br/><br/>Your password for your "+company+" account on <a href='"+host+"'>"+host+"</a> has been changed. Below you can find your updated account details;<br/><br/>Username: "+member.username+"<br/>Password: "+memberPassword+"<br/><br/>Best,<br/>A fellow "+company+" Admin");
41
+
});
42
+
};
43
+
44
+
mail.sendPasswordResetInfo=function(member,prid){
45
+
mail.lookup(function(err,host){
46
+
mail.sendMessage(member.email,""+company+" Account - Password Reset","Hi "+mail.getUserFirstName(member)+",<br/><br/>You can reset your "+company+" account password by following <a href='"+host+"/reset/"+prid+"'>this link</a>.<br/><br/>If you did not request to reset your password ignore this email.<br/><br/>Best,<br/>A fellow "+company+" Admin");
0 commit comments