How to send an email with this IMAP library

I use this IMAPX library to receive emails.

I also need to send emails, but can't figure out how to do this.

I tried using a sample code:

client.Folders["INBOX"].AppendMessage(msg)

but you get an error that AppendMessage requires two arguments, and I cannot figure out what the second argument should do.

Is it possible to send an email with this library, and if so, how?

+3
source share
1 answer

Reflector, , string, ; , ImapFlags .

IMAP, RFC.

, IMAP , . ( ), , , ... SMTP - .

+2

Source: https://habr.com/ru/post/1754421/


All Articles