Could someone please show me a quick C# snippet for using HeaderDecoder?
I'm still learning C# and I'm trying to implement Decode in my Program.
public string Decode(
string text
)
Currently, I'm getting the headers as a list
var eml = imap.GetMessageByUID(uid);
IMail mail = new MailBuilder().CreateFromEml(eml);
myapp.model.message msg = new model.message();
msg.headers = new Dictionary<string, List<string>>();
This gives me everything raw so I end up with base64 and Quoted-Printable From/Subject etc.