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

mailbox should support options for calling email parser #90068

Open
bpoaugust mannequin opened this issue Nov 27, 2021 · 1 comment
Open

mailbox should support options for calling email parser #90068

bpoaugust mannequin opened this issue Nov 27, 2021 · 1 comment

Comments

@bpoaugust
Copy link
Mannequin

bpoaugust mannequin commented Nov 27, 2021

BPO 45910
Nosy @warsaw, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2021-11-27.16:51:40.444>
labels = ['expert-email']
title = 'mailbox should support options for calling email parser'
updated_at = <Date 2021-11-27.16:51:40.444>
user = 'https://bugs.python.org/bpoaugust'

bugs.python.org fields:

activity = <Date 2021-11-27.16:51:40.444>
actor = 'bpoaugust'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['email']
creation = <Date 2021-11-27.16:51:40.444>
creator = 'bpoaugust'
dependencies = []
files = []
hgrepos = []
issue_num = 45910
keywords = []
message_count = 1.0
messages = ['407154']
nosy_count = 3.0
nosy_names = ['barry', 'r.david.murray', 'bpoaugust']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue45910'
versions = []

@bpoaugust
Copy link
Mannequin Author

bpoaugust mannequin commented Nov 27, 2021

It looks like mailbox uses email.message_from_... for parsing emails.

However it does not allow for passing any options to the parser.

In particular the policy cannot be provided.

It would be useful if there was a way to pass such options.

@bpoaugust bpoaugust mannequin added topic-email labels Nov 27, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants