C# imapx 2

  • Автор темы Автор темы PHaRTnONu
  • Дата начала Дата начала

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Реакции
48
Баллы
28
so i want to use imapX2 i dont know crap about loading c# code
can some one give me a hand with this i would apreciate that.
i need to retrieve unread ( flag )


thanks in advance
 
ive tried with no luck

Код:
Развернуть Свернуть Копировать
var client = new ImapClient("imap.1and1.com", true);

if(client.Connect()) {
   
  if(client.Login(project.Variables["Login"].Value, project.Variables["Password"].Value)) {
  client.Behavior.MessageFetchMode = MessageFetchMode.Basic  
      // login successful
  }
}
else {
  // connection not successful
}
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)