Skip to content
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

Subtype not always present #473

Merged
merged 2 commits into from
Aug 26, 2020
Merged

Conversation

Piskvor
Copy link
Contributor

@Piskvor Piskvor commented Aug 25, 2020

A MIME message doesn't always have a subtype

  • a well-formed message part should have it
  • alas, we also need to handle not-so-well-formed ones
  • this leads to Notice: Undefined property: stdClass::$subtype, which is enough to trip up some applications.

- a well-formed message part should have it
- alas, we also need to handle not-so-well-formed ones
@Slamdunk
Copy link
Collaborator

Hi, could you add tests for this?

@Slamdunk Slamdunk marked this pull request as ready for review August 26, 2020 07:08
@Slamdunk Slamdunk merged commit 1e68130 into ddeboer:master Aug 26, 2020
@Slamdunk
Copy link
Collaborator

Never mind, looks ok and tricky to test, thank you 👍

@Slamdunk Slamdunk added the bug label Nov 30, 2020
saintsloth pushed a commit to saintsloth/imap that referenced this pull request Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants