-
Notifications
You must be signed in to change notification settings - Fork 35
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
+ Extend body parsing capabilities to match with imap_fetchstructure #12
Conversation
this is much needed , please merge it |
This code works beautifully and fixed the issues we were having with duplicated html body, and attachments not being assigned properly. Thank you! |
@Orgoth can't this be fixed in a single statement like the rest of the base types
|
@Orgoth could you send me the json for fromBodyStructure so I can run it trough the parser? |
Seems legit to me, pushed the changes to this PR. |
@Orgoth how about this version, it is more in line with the original c-client parsing which is used by php_imap |
@dicode-nl So far this is working as intended! Fixed a bunch of issues I was having. Great work! |
Hi @dicode-nl ! I wanted to say hugely thank you for your work. Please consider supporting the users of this project by obviously charging a fee for your valuable work. Not to me but directly to those who ask for help. Thanks too @Orgoth for the support of the project |
I've extended the BodyStructure.php to be able to parse more different message types and match output with imap_fetchstructure. Tested with over 2000+ messages