-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POP3 getMessage fails with 'Line "<==UUID==>" does not match header format' #6
Comments
I have further delved into the source code. Originally posted by @abulhol at zendframework/zend-mail#245 (comment) |
Any news on this? |
@abulhol if you have a reproducer (test case), that would help pinning the bug down |
@Ocramius I think I have described the issue in enough detail, and @weierophinney has already investigated it sufficiently (and pinned down the bug). I don't have time to write a test case, sorry. |
@abulhol eh, then don't expect somebody else to have time/interest in trying to reproduce the problem in their local (and then CI) environment 😞 |
@abulhol you can at least include a .php snippet and .txt attachment of reproducer as attachments to the pull request. be sure it shows the problem when executed standalone. |
ok @glensc I will see what I can do, thx. |
@Ocramius @glensc Here you go with a fully working example, please let me know if it doesn't run on your side: |
Hey guys, I would appreciate some feedback after having made the effort to create a working example. |
ping |
i recently see dimilasr issue on glpi:
|
We are using zend-mail to fetch emails via POP3 and IMAP.
For integration tests, we run an instance of Flying Rat (https://pypi.org/project/flyingrat/) to mock a mail server with POP3. We build multipart emails in Python using MIMEMultipart and send them to the server via smtplib (all standard code used there, nothing fancy).
Now when I try to fetch the emails in zend-mail via
getMessage()
, it fails with the following exception::I have tried to debug this and printed out the
$params
in Message.php_construct
.It looks to me like zend-mail is not able to parse the headers correctly because Flying Rat does not support the
TOP
command and so the whole message is downloaded. Could this be a bug?Here is the full debug output of the
$params
::Originally posted by @abulhol at zendframework/zend-mail#245
The text was updated successfully, but these errors were encountered: