Issue:
tSendMail allows you to set the encoding, but it appears that this encoding setting only applies to the message.
Looking at tSendMail_main.javajet, the "<%=encoding %>" setting is not applied to the subject.
subject msg_<%=cid %>.setSubject(subject_<%=cid %>); message mbpText_<%=cid %>.setText(message_<%=cid %>,<%=encoding %>, "<%=mimesubtype %>"); mp_<%=cid %>.addBodyPart(mbpText_<%=cid %>);
How can the encoding be applied to the subject ?
Solution:
The "<%=encoding %>" setting is not in the code for subject and this was reported in Talend Defect/Enhancement incident system as:
TDI-18853: When use tSendMail, "encoding" of Advanced setting isn't reflected to Subject and Sender's name.
The issue has not been addressed but the following workaround can be used:
Add to the startup (ini / bat file) when launching JETL Studio.
-Dfile.encoding=UTF-8
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now