[back to index]
Message body content should be in canonical form (e.g., with dot-stuffing removed, if any).
Lines in the data chunk are expected to be CRLF-terminated in the standard way. For input that is not, consider setting the DKIM_LIBFLAGS_FIXCRLF (see dkim_options()), which will cause this function to attempt to auto-detect based on the first line whether the input is CRLF-terminated or not, and adapt accordingly.
dkim_eoh() will be called implicitly by this function upon encountering the end of the message's header block, but the caller must still use dkim_eom() to complete processing of the message. Also, this function should be called with a NULL value for chunkp and/or a zero value for len when no more chunks are to be passed to the API, prior to calling dkim_eom().