Hi i have written a code to save the mail to Drafts folder as follows
long? draftID = 0;
MailBuilder builder = new MailBuilder();
builder.From.Add(new MailBox("demo@x.com"));
builder.To.Add(new MailBox("demo@some.com"));
IMail email = builder.Create();
using (Imap imap = new Imap())
{
imap.ConnectSSL("imap.server.com");
imap.UseBestLogin("userName", "password");
FolderInfo drafts = new CommonFolders(imap.GetFolders()).Drafts;
draftID = imap.UploadMessage(drafts, email);
}
this is successfully saving in my drafts, now if I do some changes for the same mail and click on save I need to update the mail so can some one help me