Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: This imapX library is a free library or paid ??

$
0
0
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 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

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>