public delegate string HtmlToRtfConversionHandler( MailMessage sourceMsg, string sourceHtml )
Public Delegate Function HtmlToRtfConversionHandler ( sourceMsg As MailMessage, sourceHtml As String ) As String
If you decided to use custom HTML-to-RTF conversion in your application (see HtmlToRtfConversionMethod topic for details), then your application must implement a method with signature which deals with sourceHtml string, converts its contents into RTF and returns it to MailBee. You can also use sourceMsg object if you need other information from the source .EML message. You can also modify that message (for instance, if your process of HTML-to-RTF conversion also implies changing the message like adding or removing attachments or whatever). All your changes will take effect on the resulting .MSG message.
To let MailBee know which OnHtmlToRtfConversion property.delegate to execute, use
|Using custom HTML-to-RTF conversion is an advanced topic which assumes you have a tool (such as third-party component) which can perform such a conversion with a very high quality (because MailBee already provides basic-level HTML-to-RTF conversion). Also, it assumes you actually need RTF body in .MSG message and HTML body is not enough for your case. Most Outlook versions can open .MSG with HTML (and no RTF) just fine.|