Hi,
When messages are of type text/html, they can never be seen by the current Mailbox scanner.
This is because they are of type "body" but rejected by the isMimeType("text/plain") test.
All "text/" messages should be taken through the "body" MailBox scanner no ?
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Messages with mime type text/html should be ignored by current MailboxScanner implementation.
However, not that multipart messages which contain text/plain part will be handled. When you send message from Outlook express you actually use multipart message. One part is text/html while second part is the same message but without formating (text/plain). In this case second part will be handled by MailboxScanner. I am not sure about other e-mail clients - that should be tested.
If you have some better idea feel free to post it here!
Dejan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, in fact I don't have the hand of the message type of the emails that I received so I HAVE to be able to read this type.
And with body or attachment as getFrom, the mail is not taken.
I simply changed MailboxScanner to take "text/plain" and "text/html" for "getFrom" equals to "body" to be able to see these emails.
My concern was that I am maybe not alone in this case and you will get this problem with other users as well.
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When messages are of type text/html, they can never be seen by the current Mailbox scanner.
This is because they are of type "body" but rejected by the isMimeType("text/plain") test.
All "text/" messages should be taken through the "body" MailBox scanner no ?
Vincent
Messages with mime type text/html should be ignored by current MailboxScanner implementation.
However, not that multipart messages which contain text/plain part will be handled. When you send message from Outlook express you actually use multipart message. One part is text/html while second part is the same message but without formating (text/plain). In this case second part will be handled by MailboxScanner. I am not sure about other e-mail clients - that should be tested.
If you have some better idea feel free to post it here!
Dejan
Well, in fact I don't have the hand of the message type of the emails that I received so I HAVE to be able to read this type.
And with body or attachment as getFrom, the mail is not taken.
I simply changed MailboxScanner to take "text/plain" and "text/html" for "getFrom" equals to "body" to be able to see these emails.
My concern was that I am maybe not alone in this case and you will get this problem with other users as well.
Vincent
Vincent,
which version of Babeldoc are you using? Babeldoc 1.0.1 should fixed this bug.
Dejan