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
below is code, I am extracting the mail body using mailparser which is text/html content
and trying to get latest reply using EmailReplyParser.parse_reply, but it is extracting complete message not the reply only
mail = mailparser.parse_from_bytes(file.read()
reply_text = EmailReplyParser.parse_reply(mail.text_html[0])
it is working file for text/plain content
mail = mailparser.parse_from_bytes(file.read()
reply_text = EmailReplyParser.parse_reply(mail.text_plIn[0])
any suggestions are appreciated, thanks in adavnce
The text was updated successfully, but these errors were encountered:
below is code, I am extracting the mail body using mailparser which is text/html content
and trying to get latest reply using EmailReplyParser.parse_reply, but it is extracting complete message not the reply only
mail = mailparser.parse_from_bytes(file.read()
reply_text = EmailReplyParser.parse_reply(mail.text_html[0])
it is working file for text/plain content
mail = mailparser.parse_from_bytes(file.read()
reply_text = EmailReplyParser.parse_reply(mail.text_plIn[0])
any suggestions are appreciated, thanks in adavnce
The text was updated successfully, but these errors were encountered: