How to convert single EML to IMAP and Multiple EML to IMAP
Welcome to our community! Thank you for posting the query. Could you clarify your requirements and goals in more detail, please? Also, please specify the programming language you are using with Aspose.Email.
I want to store eml files to imap server also create custom folders and store into that.im using c# .net and eml files(single or multiple).so please provide solution
Could you please clarify if your server is Microsoft Exchange Server?
i want solution for all kind of mail server gmail yahoo thunderbird n more
Thank you for the additional information.
You can use the
ImapClient class instance for creating folders as shown below:
An EML file can be appended to the folder like this:
To append several messages, please use the next way:
var mailMessages = new List<MailMessage>(); // ... // after filling mailMessages collection: imapClient.AppendMessages("FolderName", mailMessages);