Great work, jimimaseye viewtopic.php?f=21&t=29402
Thanks a lot!
I installed and it works well.... if I send a mail from thunderbird
but if I generate a mail via api from the server (w/ classic asp)..
like this https://www.hmailserver.com/documentati ... ssage_send
mail has no DKIM signature and google mx reject it
clearly I'm forgetting something but I've not found what

I've found this routine, but seems me the way to programmatically setup the account, but I've already successfully configured manually
Code: Select all
Set oApp = CreateObject("hMailServer.Application")
Call oApp.Authenticate("Administrator","hMailPass") '*** N.B. 1. set your administrator password in this line
sDomain = "mydomain.com" ' *** enter domain name for DKIM here
Set oDomain = oApp.Domains.ItemByName(sDomain)
oDomain.DKIMPrivateKeyFile = "c:\path to key file"
oDomain.DKIMSelector = "selector"
etc
etc
oDomain.Save()
Thanks a lot!
Alex