IDEMPIERE-2894 Add server name on the email sent when starting service
This commit is contained in:
parent
8e193dad3d
commit
30e1eadfd2
|
@ -183,7 +183,7 @@ public class WebEnv
|
||||||
MClient client = MClient.get(ctx, 0);
|
MClient client = MClient.get(ctx, 0);
|
||||||
MSystem system = MSystem.get(ctx);
|
MSystem system = MSystem.get(ctx);
|
||||||
client.sendEMail(client.getRequestEMail(),
|
client.sendEMail(client.getRequestEMail(),
|
||||||
"Server started: " + system.getName(),
|
"Server started: " + system.getName() + " (" + WebUtil.getServerName() + ")",
|
||||||
"ServerInfo: " + context.getServerInfo(), null);
|
"ServerInfo: " + context.getServerInfo(), null);
|
||||||
|
|
||||||
return s_initOK;
|
return s_initOK;
|
||||||
|
|
Loading…
Reference in New Issue