I'm trying to access to an IMAP account using MailKit (created by jstedfast)
I manage to download the message (as a MimeMessage), and at some point I need to "forward" it to another account.
How would be the best way to do it, in order to preserve all the information of the original email (adresses, headers, body content, etc).
Thanks!
Different people mean different things when they say "forward", so I guess I'll provide answers to the different meanings that I can think of.
1. Forward (Resend) the message without any changes.
By "no changes", I literally mean no changes at all to the raw message data. The way to do this is to do:
Usually people don't mean this type of "forwarding", though. If they want to resend, usually they'll use the next method of resending.
2. Forward (Resend) the message the standard way.
3. Forward the message by attaching it (in whole) to a new message, the way some mail clients might do it.