The code looks OK at a glance.
Can you paste the sample message you're trying to sign?
From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Alex Klizhentas
Sent: Tuesday, March 01, 2011 12:25 PM
To: opendkim-users_at_lists.opendkim.org
Subject: Trying to use libopendkim
Hi All,
I'm exploring libopendkim ability to sign and verify messages as a separate module and wrote a code snippet that does not work
I always get an error at line 83 saying that message format is invalid.
Here's the code snippet:
I understand that doing something completely wrong, but found no code examples to make it right, so would appreciate any help.
-- Regards, AlexReceived on Tue Mar 01 2011 - 20:47:20 PST
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sun May 15 2011 - 15:58:21 PST