I created another bug, but I guess its all the same stuff: https://answers.launchpad.net/dkimpy/+question/277080
I've replaced my __init__.py by http://bazaar.launchpad.net/~dkimpy-hackers/dkimpy/trunk/view/head:/dkim/__init__.py and it works perfectly doing something like this:
Now my message has all the headers and body
dkim_signer = dkim.DKIM(msg.as_string().encode('utf-8'))
dkim_identity = '@%s' % (dkim_parameters['domain'])
dkim_header = dkim_signer.sign( selector = dkim_parameters['selector'].encode('utf-8'), domain = dkim_parameters['domain'].encode('utf-8'), privkey = dkim_parameters['key'].encode('utf-8'), identity = dkim_identity.encode('utf-8') )
I created another bug, but I guess its all the same stuff: https:/ /answers. launchpad. net/dkimpy/ +question/ 277080
I've replaced my __init__.py by http:// bazaar. launchpad. net/~dkimpy- hackers/ dkimpy/ trunk/view/ head:/dkim/ __init_ _.py and it works perfectly doing something like this:
Now my message has all the headers and body
)