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:
http://pastie.org/1622025
I understand that doing something completely wrong, but found no code examples to make it right, so would appreciate any help.
--
Regards,
Alex
Received on Tue Mar 01 2011 - 20:47:20 PST