Skip to end of metadata
Go to start of metadata
Contents Summary

This feature is supported by version 19.1 or greater.

The code uses some of the objects defined in Working with Common Operations.

Changing Field Labels in Email Header

When rendering email messages, by default the API uses the English language to render field labels such as From, To, Subject etc.. There might be the case when you want to change the label of the fields in email message's header. GroupDocs.Viewer is flexible enough to allow you to use the custom field labels for email header. The API provides a new method setFieldLabels(Map<String,String>) in EmailOptions class to change the field labels.

Following code sample shows how to use custom field labels.

Labels
  • No labels