We have written a Notes mail gateway in which we use the "Mailxxx"
routines of the C API. This has worked fine at various Notes
installations, however there is one site where I am getting
ocassional (10%) failures of the routine "MailTransferMessageLocal".
The error code is 519 which corresponds to "Document has invalid
structure". Does anyone know exactly what causes this? It seems to
be related to the individual who is receiving the message. Sending
to the same individual (and a few others) always generates the
error. However there is nothing to distinguish these people from
others who can get messages fine. Also there is nothing different
about the message content - even simple one liners fail. Any help
would be most appreciated.