We are using NuGet package of x64 library for C#.
We've noticed this in 18.104.22.168, but the bug is still present in 22.214.171.124.
Consider this simple piece of code:
In generated MIME, the "FooBar" header is missing:
While it works perfectly well in 126.96.36.199:
Is there any chance of fixing this? This really holds us from upgrading the library to the most recent version. We use "AddRelatedHeader" to substitute auto-generated "Content-Id" headers with our own, but, as you can see, it does not work with any header.
asked Aug 10 '15 at 11:20
Related items are the images, style-sheets, etc. that are referenced by the HTML body of an email. An email that has HTML situated under the multipart/related umbrella has this format
... multipart/related HTML body image A image B ...
The structure of the MIME you created does not conform to this pattern. In the example I gave above, image A is the 1st related item at index 0. Image B is the 2nd related item at index 1. When Chilkat finds the Nth related item, it skips the very 1st sub-part under the multipart/related umbrella because that SHOULD be the HTML body (not a related item).
The true issue with the AddRelatedHeader method is that it SHOULD be a method returning a boolean true/false value to indicate success or failure. Unfortunately, it's a void function.
answered Aug 28 '15 at 12:59