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

Fastmail multipart/alternative not detecting #81

Open
tyrosinase opened this issue Apr 29, 2024 · 0 comments
Open

Fastmail multipart/alternative not detecting #81

tyrosinase opened this issue Apr 29, 2024 · 0 comments

Comments

@tyrosinase
Copy link

Not sure if the example under walk_parts is at issue or if there's something funky about Fastmail, but using the example code doesn't return a true value for subparts. It will turn around and correctly say can't get body as a string for multipart/alternative if you ask it for the body_str of the supposedly-not-alternative email, so it's picking up the content type just fine.

There's probably something obvious I'm missing (it's been years since I played around with email) but I'm stumped. (There's also really nothing in the docs about how to deal with multipart/alternative outside of that example, which just returns.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant