We are using a Custom Outlook Form are loading the custom oft and updating the recipients and body and sending the email using SMTPClient.
Below are key code lines :
MapiMessage mapiMsg = MapiMessage.fromFile(oftFileName);
MailConversionOptions options = new MailConversionOptions();
options.setConvertAsTnef(true);
client.setUseTnef(true);
When the email is received by a user the Custom Field Initial value loads properly. However once the email is marked as read the custom field values stop loading.
Please note the Custom field values work fine when the email is sent manually from outlook using the oft
Please see attached oft and fdm files to see how custom labels are being loaded from the body.