I investigated and it seems it is an issue with Notes. I modified the code to call save() method and I got following error when sending 32k message
Exception in thread "Thread-0" Traceback (innermost last):
(no code object) at line 0
at lotus.domino.local.Document.Nsend(Native Method)
at lotus.domino.local.Document.send(Unknown Source)
at lotus.domino.local.Document.send(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
lotus.domino.NotesException: NotesException: Notes error: Field is too large (32
K) or View's column & selection formulas are too large
IBM support pages have info about this:
http://www-01.ibm.com/support/docview.wss?rs=475&context=SSKTWP&uid=swg21087474&loc=en_US&cs=utf-8&lang=en.
Workaround for this seems to be to change body data type to from Text to Rich Text.
I will test it and if it works I publish steps to correct the problem to
NotesCLI space.