improve OTP mgt service functionalities

pr/feature/whitelabel
Dharmakeerthi Lasantha 2 years ago
parent e28c71d4ae
commit 01aaa44e89

@ -130,7 +130,7 @@ public class OTPManagementServiceImpl implements OTPManagementService {
Properties props = new Properties();
props.setProperty("first-name", downloadURLDetails.getFirstName());
props.setProperty("download-url", downloadURLDetails.getFirstName());
props.setProperty("download-url", downloadURLDetails.getURL());
sendMail(props, downloadURLDetails.getEmail(),
DeviceManagementConstants.EmailAttributes.PRODUCT_DOWNLOAD_LINK_SHARING_TEMPLATE);
}

@ -16,7 +16,7 @@
under the License.
*#
<EmailConfig>
<Subject>You have been invited to enroll your device in Entgra IoT</Subject>
<Subject>Experience Entgra IoT Server</Subject>
<Body>
<![CDATA[
<html>
@ -37,11 +37,11 @@
</p>
<p style="font-size: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 5px 0px;">
Thank you very much for your interest in the Entgra IoT server. Please click
Click <a href="$download-url">here</a> to download the latest release of the Entgra IoT server.</p>
<a href="$download-url">here</a> to download the latest release of the Entgra IoT server.</p>
<p style="font-length: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 5px 0px;">
If you need assistance, please contact us through <a href="https://entgra.io/contact-us/">Entgra
contact us </a>>
contact us </a>
</p>
<p style="font-length: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 20px 0px 5px;">

Loading…
Cancel
Save