From c022f51467b90e661f370fcd6950ec64394a7b48 Mon Sep 17 00:00:00 2001 From: Megala Date: Thu, 6 Oct 2016 15:44:53 +0530 Subject: [PATCH] Fixing EMM-1587 --- .../email/sender/core/service/EmailSenderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/email-sender/org.wso2.carbon.email.sender.core/src/main/java/org/wso2/carbon/email/sender/core/service/EmailSenderServiceImpl.java b/components/email-sender/org.wso2.carbon.email.sender.core/src/main/java/org/wso2/carbon/email/sender/core/service/EmailSenderServiceImpl.java index 393350445f7..ba21fd81fd4 100644 --- a/components/email-sender/org.wso2.carbon.email.sender.core/src/main/java/org/wso2/carbon/email/sender/core/service/EmailSenderServiceImpl.java +++ b/components/email-sender/org.wso2.carbon.email.sender.core/src/main/java/org/wso2/carbon/email/sender/core/service/EmailSenderServiceImpl.java @@ -109,7 +109,7 @@ public class EmailSenderServiceImpl implements EmailSenderService { Options options = new Options(); options.setProperty(MessageContext.TRANSPORT_HEADERS, headerMap); options.setProperty("FORCE_CONTENT_TYPE_BASED_FORMATTER", "true"); - options.setProperty(Constants.Configuration.MESSAGE_TYPE, "text/html"); + options.setProperty(Constants.Configuration.MESSAGE_TYPE, "application/xml"); options.setProperty(Constants.Configuration.CONTENT_TYPE, "text/html"); options.setTo(new EndpointReference(EMAIL_URI_SCHEME + to));