Accept more inline PGP Messages
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Aug 2017 11:20:05 +0000 (13:20 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Aug 2017 11:20:05 +0000 (13:20 +0200)
* src/mapihelp.cpp (change_message_class_ipm_note): Accept
html only and multipart/related to check for pgp lines.

src/mapihelp.cpp

index 908c9c6..b4c025f 100644 (file)
@@ -981,7 +981,9 @@ change_message_class_ipm_note (LPMESSAGE message)
     }
   else if (!ct || !strcmp (ct, "text/plain") ||
            !strcmp (ct, "multipart/mixed") ||
-           !strcmp (ct, "multipart/alternative"))
+           !strcmp (ct, "multipart/alternative") ||
+           !strcmp (ct, "multipart/related") ||
+           !strcmp (ct, "text/html"))
     {
       /* It is quite common to have a multipart/mixed or alternative
          mail with separate encrypted PGP parts.  Look at the body to