Maria, Do you have an entity called 'Subject'? The modeler has a habit of renaming input parameters if there is an entity with the exact same name.
When people import the email template module all works fine, but as soon as I create an entity with the exact same name as the input parameter of the java action it will rename part of the Java, and create compile errors.
The action you are working on has the parameter Subject, CC, BCC, etc... Those are what the Java code is expecting. When I create a new entity with the name: 'Subject', or an entity with the name 'BCC', the modeler will go into the Java action and in the Java do a partial rename, 'Subject' becomes 'SubjectParameter', 'BCC' becomes 'BCCParameter'.
Obviously the appstore team cannot cover all cases, ultimately no matter which names are used in the module, the problem remains. If you have an entity with the same name a rename occurs.
What is probably best now is to open the Java action in a text editor, and on all the places where it uses this.Subject replace it by this.SubjectParameter
In your action on line 55 you can see the exact name the modeler gave to the parameter.
On line 130 and 133 Subject is being used, replace this.Subject by this.SubjectParameter.
After replacing those 2 words in your action, it should resolve your issue.
there are 2 modules dependency need to import for email template
then you have to refresh all object module with reflection
hope this help
The compile error doesn't make much sense and I was unable to reproduce this scenario by importing mx model reflection (the previous version), encryption and the email module with templates into a new project, I don't have an explanation for this. Can you reproduce this in the same way as I did with a clean project?