1) document.send() tries to send to an empty Vector, which will always fail. Fixed with the commit allocated to this issue, by calling the delegate also in send(boolean).
2) But DominoEmail doesn't set a sendTo field etc, it does:
mimeHeader = mimeRoot.createHeader("To");
mimeHeader.setHeaderVal(join(getTo(), ""));
document.send() even with the fix throws an error "Unable to send mail, no match found in Name & Address Book(s)".
I'm not sure why the second one is failing and how to fix it. If we need to set the recipients field, I suspect it will need to, cc and bcc. But I'm not sure.
Not sure if it's relevant, but the send() method of DominoEmail is setting convertMIME(false) at start of the process. document.send() method does checkMIMEOpen(), but commenting that out has no effect.
I think there's two issues.
1) document.send() tries to send to an empty Vector, which will always fail. Fixed with the commit allocated to this issue, by calling the delegate also in send(boolean).
2) But DominoEmail doesn't set a sendTo field etc, it does: mimeHeader = mimeRoot.createHeader("To"); mimeHeader.setHeaderVal(join(getTo(), "")); document.send() even with the fix throws an error "Unable to send mail, no match found in Name & Address Book(s)".
I'm not sure why the second one is failing and how to fix it. If we need to set the recipients field, I suspect it will need to, cc and bcc. But I'm not sure.