Open sanderkruger opened 4 years ago
Whoops, turns out the problem is not with the plugin, but with the referencing of the private key. In .env I used a relative path for the location of the private DKIM key. This worked fine for sending emails directly from the http process. But cron works from a different basepath, so the private key could not be found. Use an absolute path. Perhaps an idea to put this in the readme.md
I seems that the DKIM signing classes are not used when a mail is dispatched to the queue. Even writing a job that sends an email will not result in signed mail.
How can this plugin be changed so that queued messages are also using the classes that add the DKIM signature?