Describe the bug
I have a raw email file in which one of the emails bounced. I would assume that I could parse both the 1) Content-Description: Undelivered Message email, as well as 2) the original email that had the bounced email, as there are valid addresses in that message.
To Reproduce
Steps to reproduce the behavior:
import mailparser
mail = mailparser.parse_from_bytes(f)
mailparsed_email.to only contains the return email back to sender
See error
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
If there's another place that I need to be referencing to get information about both emails (or parse them into 2), please let me know!
Describe the bug I have a raw email file in which one of the emails bounced. I would assume that I could parse both the 1)
Content-Description: Undelivered Message
email, as well as 2) the original email that had the bounced email, as there are valid addresses in that message.To Reproduce Steps to reproduce the behavior:
import mailparser
mail = mailparser.parse_from_bytes(f)
mailparsed_email.to
only contains the return email back to senderSee error
Expected behavior A clear and concise description of what you expected to happen.
Raw mail Raw email gist
Environment:
Additional context If there's another place that I need to be referencing to get information about both emails (or parse them into 2), please let me know!