You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that generating a DKIM-Signature header is not straightforward. There are libraries which can do it, like this one, but they require a MimeMessage object to make the header for.
Since Postal does not expose the MimeMessages it generates with make-jmessage, I have to fall back to javax.mail for the entire process.
This would be much easier if send-message had some kind of transform-before-send option - a function supplied by the user which could be applied to the message objects before sending. Would you consider introducing such an option?
May be I am overcomplicating this - please let me know if you know a better solution.
Is there an easy way to add a DKIM signature to an email before sending?
The text was updated successfully, but these errors were encountered: