File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ title : Customization of email sent when server starts
3+ sidebar_label : Customization of email sent when server starts
4+ sidebar_position : 1
5+ description : Allow to customize the content of the email sent when the iDempiere service starts
6+ ---
7+
8+ :::warning Not Yet in Stable Release
9+ This feature is not yet part of a stable iDempiere release and may change.
10+ :::
11+
12+ ** Goal:** Technical
13+ ** Developer:** [ Nicolas Micoud] ( https://wiki.idempiere.org/en/User:Nmicoud ) ([ TGI] ( https://www.tgi.eu ) )
14+ ** Feature Ticket:** [ IDEMPIERE-6063] ( https://idempiere.atlassian.net/browse/IDEMPIERE-6063 )
15+
16+ ## Customization of email sent when server starts
17+
18+ Idea is to allow implementors to define which informations should be set in the email sent at server start.
19+
20+ You just have to define a Mail Template which can get any value from AD_Client and AD_System tables.
21+
22+ Moreover, some hardcoded variables are available:
23+ - ** ServerName**
24+ - ** ServerInfo**
25+ - ** Version**
26+ - ** SystemName**
27+ - ** SystemDescription**
28+
29+ nb: * SystemName* and * SystemDescription* need to be added there as AD_Client also has a Name and Description columns
30+
31+ For instance, the subject can be like :
32+ ` [@SystemName@] (@ServerName@) has started `
33+
34+ And the message:
35+ ```
36+ Version : @Version@
37+ ServerInfo : @ServerInfo@
38+ Status : @SystemStatus<Name>@
39+ ```
40+
41+ Which will results in:
42+ Subject: [ iDempiere] (8CC53311KQ:192.168.1.200) has started
43+
44+ Message:
45+ ```
46+ Version : 14.0.0.qualifier
47+ ServerInfo : jetty/12.0.25
48+ Status : Evaluation
49+ ```
You can’t perform that action at this time.
0 commit comments