Archived Forum Post

Index of archived forum posts

Question:

UseMmDescription

Aug 14 '15 at 08:24

UseMmDescription controls whether the boilerplate text "This is a multi-part message in MIME format." is used as the body content of a multipart MIME part.

Any way I can update the message instead of "This is a multi-part message in MIME format."

Thanks a lot :)


Answer

I don't see any properties in the library to change this text. There may be a good reason for this (perhaps there's a lot of legacy software out there that expects to see this text? Just a guess), or perhaps it's just an oversight (nobody ever needed the feature before, so it never got implemented).

One approach might be to render the MIME using the GetMime method, and then replace the first instance of "This is a multi-part message in MIME format." with whatever text you require.