I store the message part of lots of emails in an MsSql database. Before sending an email with the message I need to encode it into Quoted-Printable format. I don't encode it before saving it to db because I want to have the original message. And I don't want to have both the original and the encoded one in the db.
I'm using third-party software for sending mails so my only options to encode the messages is when reading them from the database or to encode them in freemarker.
So, does anyone know how to encode the messages from TSQL or FreeMarker? Preferrably a solution that doesn't involve buying a license.
The options you have are as follows: