I searched the internet far and wide to find the C# CERN library mentioned at sourceforge for domainkeys and was unable to locate it.
I also reviewed the documentation for the hmail scripting API. It appears that a script for DomainKeys is not possible because the Header collection available in the API is read only. The script would have to be able to add a header ("Domainkey-signature") to the collection prior to the message being sent.
However, I am very new at scripting for hmail, so let me know if I'm incorrect.
DomainKey script
Re: DomainKey script
It certainly is possible to add email headers via the COM API.
It would be something like
oMessage.HeaderValue("Domainkey-signature") = string
oMessage.save
It would be something like
oMessage.HeaderValue("Domainkey-signature") = string
oMessage.save
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: DomainKey script
Ahh, then the docs are wrong. Wouldn't be the first time that's happened to me. 
Thanks!

Thanks!
Re: DomainKey script
Which docs specifically are you referring to?
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: DomainKey script
No I don't think so. This is in the documentation...jp_reed wrote:Ahh, then the docs are wrong.
http://www.hmailserver.com/documentatio ... ct_messagejp_reed wrote:I also reviewed the documentation for the hmail scripting API. It appears that a script for DomainKeys is not possible because the Header collection available in the API is read only.
The very next item after the headers collection that you mention is Headervalue
MessageHeaders Headers
Collection of message heades.
(read-only)
string HeaderValue(string FieldName)
Value of the given header field.

Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: DomainKey script
The fact that the docs state that the MessageHeaders collection is read only is what I was referring to. It's just a bit ambiguous, no big deal.
Thanks!
Thanks!
Re: DomainKey script
Yes quite a few items are flagged as read only. It is fairly safe to assume that those not so marked, ie HeaderValue are not read only. The quantity of read only items is in all less than 5% I'd reckon at a guess.
To be honest, I am unsure how it could be less ambiguous. But you are correct, this is no big deal.
Please share your DomainKeys script when you get it going. There is the occasional request for DomainKeys, it would be nice to point to something that works as a starting point.
To be honest, I am unsure how it could be less ambiguous. But you are correct, this is no big deal.
Please share your DomainKeys script when you get it going. There is the occasional request for DomainKeys, it would be nice to point to something that works as a starting point.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: DomainKey script
I am working on the domainkey script. Is the RSA encryption routine that does the DKIM encryption available anywhere within the COM API? As far as I can tell, the encryption for DKIM is the exact same as DomainKeys.
Thanks!
Thanks!