We are deploying a console application based batch files to send emails. We take the content from the standard input and then pass it to Bmail and MgSMTP server.
Now we want to add a DKIM signature to the email. Since the app is written in batch, the only way to sign hashes is using openssl.exe
.
I already have the bodyhash and the headerhash hashed with sha1 and encoded in base64.
The question is: How can I dkim sign emails?