dkim_get_msgdate()

SYNOPSIS
#include <dkim.h>

time_t dkim_get_msgdate(
	DKIM *dkim
);
Retrieve the value of a message's Date: header field.
DESCRIPTION
Called When dkim_get_msgdate() can be called at any time after end-of-headers has been reached (i.e. dkim_eoh() has been called).
ARGUMENTS
ArgumentDescription
dkim Message-specific handle, returned by dkim_sign() or dkim_verify().
RETURN VALUES
ValueDescription
0 A Date: header field was not found, or one was found but could not be parsed, or the feature was not enabled when the DKIM library was compiled.
otherwise A UNIX time_t translation of the value of the Date: header field.
NOTES
  • Presumes the provided Date: header field is in standard format.

Copyright (c) 2007 Sendmail, Inc. and its suppliers. All rights reserved.
Copyright (c) 2009, The OpenDKIM Project. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the respective licenses.