Hi,
Tried everything but can't seem to find how to add an image blob to an email generated by PrepareMailWitty.
Image comes from WRD schema settings and because of this I don't have a wrapped version available, eg only the blob. Tried:
- GetDataURL for <img src> (seems to work in RunEmailTestDialog but not in the sent email itself)
- WittyMailComposer::AddEmbeddedObject and use its result in <img src>; the cid-string shows up in email source but the image doesn't appear to be added to the mail
There doesn't seem to be something in webhare_testsuite for this either, unless I'm not reading the tests correctly.
After some debugging, it looks like the last param in
```
RECORD toppart := CreateMIMEMailingTopPart(textversion, prep.htmlversion, this->embeddedassets);
```
is an empty record array. This seems to be caused by:
```
PUBLIC RECORD FUNCTION __PrepareContent()
{
this->embeddedassets := RECORD[];
```
If I comment this line, all seems to go well, both in RunEmailTestDialog as well as the sent email. But I'd guess this line is there for a reason. Is it?