hi all,
When I using Email Output node to send mail I can send correct content containing Chinese word in on-premise ACE server, but when I deploy this bar file to ACE on OCP the content is garbled. I set the CCSID and content-type to UTF-8. I add property in Compute node which is prior to Email Output node. Any one met this? thanks.
CALL CopyMessageHeaders();
-- CALL CopyEntireMessage();
-- Add recipient information to the EmailOutputHeader
SET OutputRoot.EmailOutputHeader.To = InputRoot.JSON.Data.to;
-- Add sender information to EmailOutputHeader
SET OutputRoot.EmailOutputHeader.From = InputRoot.JSON.Data.from;
-- Add subject to EmailOutputHeader
SET OutputRoot.EmailOutputHeader.Subject = InputRoot.JSON.Data.subject;
SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/plain; charset=UTF-8';
SET OutputLocalEnvironment.Destination.Email.MultiPartContentType = 'text/plain; charset=UTF-8';
-- Create a new message body, which will be sent as the main text of the email.
SET OutputRoot.BLOB.BLOB = CAST(InputRoot.JSON.Data.content AS BLOB CCSID 1208);
------------------------------
YONG QIANG ZHAO
------------------------------