Im trying to find a method in mailkit that executes the command "Execute append" in IMAP, in C# i would do it like:
MailMessage mg = null; using (ImapClient cl = new ImapClient("imap.gmail.com")) { cl.Port = 993; cl.Ssl = true; cl.UserName = "xxxxx"; cl.Password = "yyyyy"; var bl = cl.Authenticate(); if (bl == true) { //Add Draft var smg = new SmtpMessage("[email protected]", "[email protected]","[email protected]", "This is a test mail.", "Hi.Is it correct??"); cl.ExecuteAppend("GMail/Drafts", smg.GetDataText(), "\\Draft",DateTimeOffset.Now); } } However observing MailKit ImapClient, i dont have this option..
How can i execute append in MailKit IMAP?