Free Support Forum - groupdocs.com

Rename email fields when converting an Email file using .NET

What we would love to have additionally for PdfConvertOptions or ImageConvertOptions classes is EmailOptions. It is only available in the Viewer.
When we’re currently using PdfConvertOptions or ImageConvertOptions with the Converter, we cannot rename the email fields.
It would really be great if this could be added, as english email fields are just a no-go for a multi language application.


This Topic is created by atirtahir3 using Email to Topic tool.

@Clemens_Pestuka,

We’re investigating this use-case. Your investigation ticket ID is CONVERSIONNET-3727. As there is any update, you’ll be notified.

1 Like

@Clemens_Pestuka,

We added a new property FieldTextMap in API version 20.3.
Below is the usage of this property:

var source = "sample.eml";
var loadOptions = new EmailLoadOptions
{
    FieldTextMap = new Dictionary<EmailField, string>
    {
        { EmailField.Subject, "Gegenstand" },
        { EmailField.From, "Von" },
        { EmailField.Attachments, "Anhänge" }
    }
};

Please let us know if it’ll help.

1 Like

@atirtahir3

Thank you very much, this is exactly what we needed. :grinning:
The only small thing that I miss is “Cc” from the EmailField enum.
It does exist in the FieldTextMap as I have seen though, so it’s a very minor thing.

1 Like

@Clemens_Pestuka,

Glad to know that :slight_smile:

We’re investigating this. Your investigation ticket ID is CONVERSIONNET-3785. You’ll be notified as there’s any update.

1 Like