Enough-Software / enough_mail

IMAP, POP3 and SMTP clients for Dart developers. Contains both low level as well as a high level API.
Mozilla Public License 2.0
105 stars 55 forks source link

ignoring response starting with [Return-Path: <sales@yarsort.com.ua>] with 1 lines. #190

Closed yarsort closed 2 years ago

yarsort commented 2 years ago

What is this message?

robert-virkus commented 2 years ago

It seems that you are connecting to a POP mail service, can you provide some more details, specifically the log entries above and below the entry? If necessary, please turn on logging by setting isLogEnabled to true in the constructor, e.g. PopClient(isLogEnabled: true, logName: 'myPopService');.

yarsort commented 2 years ago

I found. My POP3 server returned LIST '+OK 20 Messages' and it's no simple '+OK'.

if (line.contains('+OK')) { continue; }

yarsort commented 2 years ago
изображение
yarsort commented 2 years ago

Please replace this sample of code... From "==" to "contains" in expression

robert-virkus commented 2 years ago

Thanks a lot for your contribution - do you know about pull requests? In the future you can suggest changes via PRs and so your contribution would be official :-)