c# - How to get mail sent successfully with MailKit IMap? -


i'd know if outbox mail has been sent successfully..

var client = new imapclient(); .... var folders = client.getfolders(client.personalnamespaces[0]); var folder = client.getfolder("已发送");//get sent mail floder in chinese var folderaccess = folder.open(folderaccess.readonly); string path = @"c:\temp\";  (int = folder.count - 1; >= 0; i--) {    var message = folder.getmessage(i); } 

you can't send messages via imap, can send them via smtp.

sending messages via smtp not put them imap folder. have put them there yourself.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -