* Changes by Gagan B. on 08-OCT-24 to upload HTML to alfresco server in MAIL_FORMAT object and store the doc ID in MAIL_FORMAT.BODY_TEXT and use the same doc ID to retrieve
* Changes by Gagan B. on 08-OCT-24 to upload HTML to alfresco server in
* the document and use it to display data in template and while sending the mail. -- START
* MAIL_FORMAT object and store the doc ID in MAIL_FORMAT.BODY_TEXT and use the
* same doc ID to retrieve the document and use it to display data in template
@@ -82,14 +82,16 @@ public class MarketingCampaignPreSend extends ActionHandlerEJB {
...
@@ -82,14 +82,16 @@ public class MarketingCampaignPreSend extends ActionHandlerEJB {
// body = readHtmlFile(bodyFilePath);
// body = readHtmlFile(bodyFilePath);
body=responseString;
body=responseString;
}catch(Exceptione){
}catch(Exceptione){
mailXMLStr="NULLHTML";
mailXMLStr="NULLHTML";
BaseLogger.log("3",null,null,"Exception in readHtmlFile method ["+e.getMessage()+"]");
BaseLogger.log("3",null,null,"Exception in readHtmlFile method ["+e.getMessage()+"]");
e.printStackTrace();
e.printStackTrace();
returnmailXMLStr;
returnmailXMLStr;
}
}
/*
/*
* Changes by Gagan B. on 08-OCT-24 to upload HTML to alfresco server in MAIL_FORMAT object and store the doc ID in MAIL_FORMAT.BODY_TEXT and use the same doc ID to retrieve
* Changes by Gagan B. on 08-OCT-24 to upload HTML to alfresco server in
* the document and use it to display data in template and while sending the mail. -- END
* MAIL_FORMAT object and store the doc ID in MAIL_FORMAT.BODY_TEXT and use the
* same doc ID to retrieve the document and use it to display data in template
* and while sending the mail. -- END
*/
*/
StringformatCode="";
StringformatCode="";
...
@@ -142,7 +144,7 @@ public class MarketingCampaignPreSend extends ActionHandlerEJB {
...
@@ -142,7 +144,7 @@ public class MarketingCampaignPreSend extends ActionHandlerEJB {