|
|
|
@ -244,7 +244,7 @@ public class LoggedinServiceImpl extends RemoteServiceServlet implements Loggedi
|
|
|
|
|
body.append("<p>Dear manager of "+ scope +",<br />this email message was automatically generated by " + portalbasicurl +" to inform you that ");
|
|
|
|
|
body.append("</p>");
|
|
|
|
|
body.append("<p>");
|
|
|
|
|
body.append("<b>"+name + " " + lastname +"</b> has left to the following environment: ");
|
|
|
|
|
body.append("<b>"+name + " " + lastname +"</b> has left the following environment: ");
|
|
|
|
|
body.append("<br /><br />");
|
|
|
|
|
body.append("<b>" + scope+"</b>");
|
|
|
|
|
body.append("<br />");
|
|
|
|
@ -258,7 +258,7 @@ public class LoggedinServiceImpl extends RemoteServiceServlet implements Loggedi
|
|
|
|
|
|
|
|
|
|
adminEmails.toArray(allMails);
|
|
|
|
|
|
|
|
|
|
EmailNotification mailToAdmin = new EmailNotification(allMails , "unregistration from VRE", body.toString(), getThreadLocalRequest());
|
|
|
|
|
EmailNotification mailToAdmin = new EmailNotification(allMails , "Unregistration from VRE", body.toString(), getThreadLocalRequest());
|
|
|
|
|
|
|
|
|
|
mailToAdmin.sendEmail();
|
|
|
|
|
}
|
|
|
|
|