You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I can see only "EML or MSG File/FilePath" as input to parse_emails.EmailParser() function.
Is there any way to pass already read email object from default "email" library
import email PYTHON_OBJECT = email.message_from_string(STRING_INPUT) PYTHON_OBJECT = email.message_from_bytes(BYTES)
So that we can use python memory objects to parse emails using "EmailParser()" function.
This will be useful when we use different python libraries (email / mailparser / poplib / imaplib etc) to pull live emails from inbox from any Mail Server and parse it for further processing.
Please let me know if above ask is already available in this library.
The text was updated successfully, but these errors were encountered:
Hello,
Currently I can see only "EML or MSG File/FilePath" as input to parse_emails.EmailParser() function.
Is there any way to pass already read email object from default "email" library
import email
PYTHON_OBJECT = email.message_from_string(STRING_INPUT)
PYTHON_OBJECT = email.message_from_bytes(BYTES)
init(self, file_path, max_depth=3, parse_only_headers=False, file_info='', forced_encoding=None,
default_encoding=None, file_name=None, email_object=PYTHON_OBJECT)
So that we can use python memory objects to parse emails using "EmailParser()" function.
This will be useful when we use different python libraries (email / mailparser / poplib / imaplib etc) to pull live emails from inbox from any Mail Server and parse it for further processing.
Please let me know if above ask is already available in this library.
The text was updated successfully, but these errors were encountered: