From 382b876f7f1f650ce2cb29dd208af1301ffdba4f Mon Sep 17 00:00:00 2001 From: manoj Date: Fri, 17 Apr 2015 20:11:24 +0530 Subject: [PATCH] User Registration email --- .../mgt/core/config/email/NotificationMessages.java | 2 +- .../src/main/resources/conf/notification-messages.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/email/NotificationMessages.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/email/NotificationMessages.java index 9fe3966902..c04b6d04d1 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/email/NotificationMessages.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/email/NotificationMessages.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; -@XmlRootElement(name = "Notifications") +@XmlRootElement(name = "NotificationMessage") public class NotificationMessages { private String header; diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/notification-messages.xml b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/notification-messages.xml index 1ed8609304..796b7fd06e 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/notification-messages.xml +++ b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/src/main/resources/conf/notification-messages.xml @@ -18,7 +18,7 @@ --> - +
Dear {title} {first-name},
You have been registered to the WSO2 MDM. Below is the link to enroll. {downloadUrl} @@ -28,8 +28,8 @@ http://www.wso2.com Enrol your device with WSO2 MDM -
- + +
Dear {title} {first-name},
You have been registered to WSO2 MDM with following credentials. Username: {user-name} @@ -43,5 +43,5 @@ http://www.wso2.com Enrol your device with WSO2 MDM -
+
\ No newline at end of file