IDEMPIERE-2894 Add server name on the email sent when starting service

This commit is contained in:
Nicolas Micoud 2015-10-21 08:50:05 -05:00
parent 8e193dad3d
commit 30e1eadfd2
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public class WebEnv
MClient client = MClient.get(ctx, 0);
MSystem system = MSystem.get(ctx);
client.sendEMail(client.getRequestEMail(),
"Server started: " + system.getName(),
"Server started: " + system.getName() + " (" + WebUtil.getServerName() + ")",
"ServerInfo: " + context.getServerInfo(), null);
return s_initOK;