# dkim_eom()

SYNOPSIS |
    #include <dkim.h>
    DKIM_STAT dkim_eom(
    	DKIM *dkim,
    	bool *testkey
    );
Denote end-of-message for a message.
DESCRIPTION |
Called When | `dkim_eom()` is called after the entire body of the message has been passed to the API via zero or more calls to `dkim_body()`.
ARGUMENTS |
Argument | Description
--- | ---
dkim | Message-specific handle, returned by `dkim_sign()` or `dkim_verify()`
testkey | Optional pointer to a boolean value which is updated to indicate whether the key found (if any) is marked as being a test key.
RETURN VALUES | `DKIM_STAT_INVALID` may indicate the `dkim` handle was rendered unusable by a previous call, likely to `dkim_eoh()`. `DKIM_STAT_INVALID` may also indicate the `dkim` handle was passed to `dkim_chunk()` for message chunk processing but the end of message was never signaled via that interface. Other possible return values include all the `DKIM_STAT` values.
NOTES | None.

Copyright (c) 2005, 2007, 2008 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.