zunächst mal Danke für den Tip mit IMAP
------------------------------------------
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
| procedure TForm1.Button1Click(Sender: TObject); var li:integer; begin idImap41.Host := 'imap.1und1.de'; idImap41.Username:= 'xxxx.xxx@xxxx'; idImap41.Password:= 'xxxxx'; idImap41.Connect(5000); showMessage('Connected'); if idImap41.ConnectionState = csAuthenticated then if IdIMAP41.SelectMailBox('inbox') then begin showMessage('unseen:'+IntToStr(idImap41.MailBox.UnseenMsgs)); showMessage('recent:'+IntToStr(IdIMAP41.MailBox.RecentMsgs)); showMessage('complete:'+IntToStr(IdIMAP41.MailBox.TotalMsgs)); end; idImap41.Disconnect; end; |
es läuft nun mit Delphi5 aber es gibt folgendes Problem:
idImap41.MailBox.UnseenMsgs zeigt immer 0 an
(damit ist die Funktion noch nicht brauchbar)
IdIMAP41.MailBox.RecentMsgs zeigt auch immer 0 an
IdIMAP41.MailBox.TotalMsgs zeit die richtige Anzahl an
bei imap.web.de ebenfalls
hat jemand ähnliche Erfahrugen gemacht ?
Danke für weitere Tips
Luis
Moderiert von
Narses: Delpih-Tags hinzugefügt
---
Moderiert von
Narses: Beiträge zusammengefasst---
Der Zugriff erfolgt über diese Bibliothek:
indy9.0.18_source.zip