dkim_getdomain()

[back to index]

SYNOPSIS
#include <dkim.h>

const char * dkim_getdomain(
	DKIM *dkim
);
Retrieve the sending domain associated with a message.
DESCRIPTION
Called When dkim_getdomain() can be called at any time after a handle is initialized with a call to dkim_sign() or dkim_verify().
ARGUMENTS
ArgumentDescription
dkim Message-specific handle, returned by dkim_sign() or dkim_verify().
RETURN VALUES
ValueDescription
NULL The sending domain has not or could not be determined from the message represented by this handle.
otherwise A pointer to the sending domain.
NOTES

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