-
Notifications
You must be signed in to change notification settings - Fork 3
opendkim.tmpdir()
Christopher Mooney edited this page Apr 18, 2017
·
1 revision
This function gets and sets the tmpdir option, which is the directory libopendkim
should use for creating temporary files. In libopendkim
parlance this is the DKIM_OPTS_TMPDIR
option. When used with no arguments, this will get the stored value, when passed a filename it will set query info to that value.
For more information:
http://www.opendkim.org/libopendkim/dkim_options.html
Type: (String
| undefined
)
-
path
: The full path of the temporary directory.
- On successful get, returns the value for this option
- On successful set, returns the opendkim instance
- On failure, an exception is thrown that indicates the cause of the problem.
- if no arguments are passed, this function will get the value.
try {
var opendkim = new OpenDKIM();
opendkim.tmpdir('/tmp');
} catch (err) {
console.log(err.message);
}