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

headers_raw is None #77

Closed
Henner opened this issue Sep 30, 2020 · 1 comment
Closed

headers_raw is None #77

Henner opened this issue Sep 30, 2020 · 1 comment

Comments

@Henner
Copy link

Henner commented Sep 30, 2020

Describe the bug
Documentation says every property has a name_raw and a name_json property. For headers headers_raw is None while headers_json is a valid json object

To Reproduce
Steps to reproduce the behavior:

  1. import mailparser
  2. mail = mailparser.parse_from_file(f)
  3. print(mail.headers_raw)

Expected behavior
Get a string of all mail headers

Environment:

  • OS: Windows
  • Docker: no
  • mail-parser version 3.12.0
  • python version 3.8.6rc1
@fedelemantuano
Copy link
Contributor

I can't test this issue:

Raw mail The raw mail to reproduce the behavior. You can use a gist. The issues without raw mail will be closed.

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

2 participants