Closed easyjoh closed 4 years ago
If MSG is of type "unknown" guess it to be an email if it has a body and a sender or receipients.
I encountered a few e-mails which always resulted in message.type = Unknown.
Thus, I suggest that in case the message has a body and (sender or receipients) it is safe to handle it as an email.
Can you send me one of those e-mails? I want to see what kind of message type these have.
Also there is already an option to use a default message type.
If MSG is of type "unknown" guess it to be an email if it has a body and a sender or receipients.
I encountered a few e-mails which always resulted in message.type = Unknown.
Thus, I suggest that in case the message has a body and (sender or receipients) it is safe to handle it as an email.