This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Dec 2, 2014, 2:50 PM
8 Posts

Has anybody got the C API function MailAddMessageBodyComposite working with larger HTML?

  • Category: Application Development,Notes Client
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: 9.0.1,API,C API
  • Replies: 1
I have created a C API function trying to use the MailAddMessageBodyComposite function in the Notes C API , based on the ideas shown here: http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/507454d55e2216c180256c13002ab6ea?OpenDocument.

The documentation for the MailAddMessageBodyComposite-function states; "... This function creates multiple items of the same name and therefore is not limited to 64KB of input.".

However, I can't seem to get this to work without getting the error 315 meaning "Memory Allocation Exceeded 65,000 bytes". With small (below 64 kB) html files, the MailAddMessageBodyComposite works without any problems.

The ImportHtmlTextFile-function in the NIHTML.DLL works without any problem with large HTML files and generate the binary CD-record file which MailAddMessageBodyComposite needs.

Has anybody got this function working?

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal