Hi sauravAnand,
IMAP is a protocol for receiving e-mails.
If you want to send a message, you can use the built-in SMTP client of the .Net framework.
On how to do it, please refer to this article: Send Email from Yahoo!, GMail, Hotmail (C#).
After you have sent the message using SMTP, you can use the ImapX
Pavel
IMAP is a protocol for receiving e-mails.
If you want to send a message, you can use the built-in SMTP client of the .Net framework.
On how to do it, please refer to this article: Send Email from Yahoo!, GMail, Hotmail (C#).
After you have sent the message using SMTP, you can use the ImapX
Folder.AppendMessage to upload it to the Sent folder:// mailMsg = a System.Net.Mail.MailMessage
// client = ImapX.ImapClient
client.Folders.Sent.AppendMessage(mailMsg);
Greets,Pavel