-
Notifications
You must be signed in to change notification settings - Fork 3
OpenDKIM.new()
Christopher Mooney edited this page Apr 3, 2017
·
1 revision
Create a new instantiation of the DKIM service, for signing or verifying messages. This is called when setting up the application.
Type: undefined
- On failure, an exception is thrown that indicates the cause of the problem.
- Under the hood, a handle is stored for use with this object instance. The handle stored by this function is passed to
opendkim.sign()
andopendkim.verify()
.
try {
var opendkim = new OpenDKIM();
} catch (err) {
console.log(err);
}