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


Aug 3, 2018, 7:56 PM
20 Posts

Does anyone have sample code on how to use MIMEConvertMIMEPart function for notes API?

  • Category: Notes Client
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator,Developer
  • Tags: MIMEConvertMIMEPart
  • Replies: 0

Hello Domino Developers,

Does anyone have small sample on how to use the MIMEConvertMimePart() function?  I have code written in C++ for opening a notes database, opening a specific document, etc and would like to use this function to see how it works.  There are some functions similar in the reference guide but not exactly this one.  I have something similar to this:

char fieldname[] = "Body";

char * ptrfieldname = fieldname;

if(error=MIMEConvertMIMEPart(note_handle, ptrfieldname, (WORD) strlen(ptrfieldname)))

{

  OSLoadString(NULLHANDLE, ERR(error), szNotesError, MAX_NOTES_ERROR);

  printf("\nError:  %s.\n", szNotesError);

  NSFNoteClose(note_handle);

  NSFDbClose(hDB);

  NotesTerm();

  return 1;

}

 

I know the note has a field called Body.  But when I run the code szNotesError says "Note item not found".

Thank you


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