| 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 |  | 
|---|
| RETURN VALUES | 
    | Value | Description | 
|---|
 | 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 | 
 This domain is selected by finding the first "From" header field
     Note that it is
     not guaranteed that this field was included in the set of fields fed
     to the DKIM signature hashes (assuming it was signed), and in any case
     its value may or may not have been valid at the time the message
     was generated.
 |