In order to get your bug addressed in a timely manner, or at all 😃, please fill out the below bug report. Please try to make it as easy as possible for us to understand what is going on. We may close out any bugs or issues without warning that are not complete or coherent.
In the bug template below anything is [square brackets] should be filled out or removed if the item doesn't apply.
Should you encounter an error that has not already been reported, please do the following when reporting it:
Bug Metadata
- Version of extract_msg: [0.30.12]
- Your python version: Python [3.8]
- How did you launch extract_msg?
Describe the bug
A clear and concise description of what the bug is.
I am trying to save some attachment from a msg file to a particular directory and when I am using the Attachment class I am getting error. I tried some other method but the attachments are getting saved in the working directory. So can anyone help me how to save the attachment to a particular directory. I noticed one thing the doc string are not well explained and there is no example.
[ If applicable ]
**What code did you use or can we use to reproduce this error?
att_msg = extract_msg.Attachment('unicode.msg')
att_msg
Is there a message.msg file you want to share to help us reproduce this?
Traceback
TypeError Traceback (most recent call last)
<ipython-input-16-f02ae309b6db> in <module>
----> 1 att_msg = extract_msg.Attachment('unicode.msg')
2 att_msg
TypeError: __init__() missing 1 required positional argument: 'dir_'
Screenshots

Additional context
cant understand what will be the path neither find any example nor the doc string explained well.
In order to get your bug addressed in a timely manner, or at all 😃, please fill out the below bug report. Please try to make it as easy as possible for us to understand what is going on. We may close out any bugs or issues without warning that are not complete or coherent.
In the bug template below anything is [square brackets] should be filled out or removed if the item doesn't apply.
Should you encounter an error that has not already been reported, please do the following when reporting it:
Bug Metadata
Describe the bug
A clear and concise description of what the bug is.
I am trying to save some attachment from a msg file to a particular directory and when I am using the Attachment class I am getting error. I tried some other method but the attachments are getting saved in the working directory. So can anyone help me how to save the attachment to a particular directory. I noticed one thing the doc string are not well explained and there is no example.
[ If applicable ]
**What code did you use or can we use to reproduce this error?
Is there a message.msg file you want to share to help us reproduce this?
Traceback
Screenshots

Additional context
cant understand what will be the path neither find any example nor the doc string explained well.