Palm Programming: The Developer's Guide by Neil Rhodes and Julie McKeehan Unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. This page was updated January 06, 2003. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification UNCONFIRMED errors and comments from readers: [148] listing at bottom of page: foundIt =3D StrCompare(findRecord.lastName, record->lastName) =3D= =3D 0 && StrCompare(findRecord.firstName, record->firstName); should be: foundIt =3D StrCompare(findRecord.lastName, record->lastName) =3D=3D= 0 && StrCompare(findRecord.firstName, record->firstName) =3D=3D 0; {149} second paragraph; Text refers to MemHandleSetSize when I can't find this function in the palm documentation or header files. It probably should be MemHandleResize instead. {278} SendBody and SendSingleBodyLine code examples; The Sendmail logic, as published, only handles the first line of a multiple line message. Look in SendBody... It loops as long as there are characters in the body AND ***result = 0*** When it finds a '\n' it sends the buffer off to SendSingleBodyLine BUT (looking in SendSingleBodyLine) SendSingleBodyLine sends a '1' for success and a '0' for failure. (Using the updated code from your web site, the book doesn't even return 1 for success...) So SendSingleBodyLine sends back '1' for success, SendBody sees that as failure and only the first line gets send. My fix was to to have SendSingleBodyLine return 0 for success and 1 for failure, then fix the sendmail routine so that the SendBody if statement reads... if (SendBody...) rather than if (!SendBody...)