Edge ईमेल के टेंप्लेट को पसंद के मुताबिक बनाना

Edge for Private Cloud v4.19.01

Edge, कुछ इवेंट के जवाब में अपने-आप ईमेल भेजता है. इनमें से हर इवेंट के लिए, Edge /opt/apigee/edge-ui/email-templates में एक डिफ़ॉल्ट ईमेल टेंप्लेट तय करता है. इन ईमेल को अपनी पसंद के मुताबिक बनाने के लिए, डिफ़ॉल्ट टेंप्लेट में बदलाव किया जा सकता है.

जिन इवेंट के लिए ईमेल भेजा जाता है और जनरेट किए गए ईमेल के लिए डिफ़ॉल्ट टेंप्लेट फ़ाइल, ये हैं:

  • नया उपयोगकर्ता जोड़ा गया: user-added-new.html
  • मौजूदा उपयोगकर्ता, पासवर्ड फिर सेट करने का अनुरोध करता है: password-reset.html
  • किसी उपयोगकर्ता को संगठन में जोड़ा गया: user-added-existing.html

ईमेल के "From" फ़ील्ड को सेट करने के लिए, /opt/apigee/customer/application/ui.properties में conf_apigee_apigee.mgmt.mailfrom प्रॉपर्टी का इस्तेमाल किया जा सकता है. अगर वह फ़ाइल मौजूद नहीं है, तो उसे बनाएं. उदाहरण के लिए:

conf_apigee_apigee.mgmt.mailfrom="My Company <myCo@company.com>"

ईमेल के विषयों को पसंद के मुताबिक बनाया जा सकता है. इसके लिए, /opt/apigee/customer/application/ui.properties में मौजूद इन प्रॉपर्टी में बदलाव करें. अगर वह फ़ाइल मौजूद नहीं है, तो उसे बनाएं:

  • conf_apigee-base_apigee.emails.passwordreset.subject
  • conf_apigee-base_apigee.emails.useraddedexisting.subject
  • conf_apigee-base_apigee.emails.useraddednew.subject

ईमेल की कई प्रॉपर्टी, {companyNameShort} प्लेसहोल्डर का रेफ़रंस देती हैं. इसकी डिफ़ॉल्ट वैल्यू "Apigee" होती है. ui.properties में conf_apigee_apigee.branding.companynameshort प्रॉपर्टी का इस्तेमाल करके, प्लेसहोल्डर की वैल्यू सेट की जा सकती है. उदाहरण के लिए:

conf_apigee_apigee.branding.companynameshort="My Company"

/opt/apigee/customer/application/ui.properties में कोई भी प्रॉपर्टी सेट करने के बाद, आपको Edge यूज़र इंटरफ़ेस (यूआई) को रीस्टार्ट करना होगा:

/opt/apigee/apigee-service/bin/apigee-service edge-ui restart