Menu

Again on MaibScanner : text/html

2003-06-03
2003-06-03
  • Vincent Harcq

    Vincent Harcq - 2003-06-03

    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

     
    • Dejan Krsmanovic

      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

       
    • Vincent Harcq

      Vincent Harcq - 2003-06-03

      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

       
      • Dejan Krsmanovic

        Vincent,
        which version of Babeldoc are you using? Babeldoc 1.0.1 should fixed this bug.

        Dejan

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.