Improve OTP mgt service functionalities

remotes/1729253769841084517/master
commit 8d036da061

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

@ -16,7 +16,7 @@
under the License. under the License.
*# *#
<EmailConfig> <EmailConfig>
<Subject>You have been invited to enroll your device in Entgra IoT</Subject> <Subject>Experience Entgra IoT Server</Subject>
<Body> <Body>
<![CDATA[ <![CDATA[
<html> <html>
@ -37,11 +37,11 @@
</p> </p>
<p style="font-size: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 5px 0px;"> <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 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;"> <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 If you need assistance, please contact us through <a href="https://entgra.io/contact-us/">Entgra
contact us </a>> contact us </a>
</p> </p>
<p style="font-length: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 20px 0px 5px;"> <p style="font-length: 1em; font-family: Arial, Helvetica; line-height: 170%; color: #666666; margin: 20px 0px 5px;">

Loading…
Cancel
Save