Stripping html Attachments During Mail Fetching
In some of the cases like Office 365 HTML attachments get stripped when fetching this mail in our ServiceDeskplus.
Cause :
- Some of the html documents has ".html" extension, but the content type of the html document will be of xhtml document. Say for example, A mail consist of attachment with fileName "message.html" , when looking up on its content type, "application/xhtml+xml". This may happen in number of cases, such as In microsoft mailbox, when sending an email which is the effective link back to the encrypted Email.
- since allowedContentTypePatters has only have patterns for html extension and not for xhtml extension, INVALID_CONTENT_TYPE error is thrown.
Workaround :
- The attached fjar, will match the xhtml content type too, inaddition to the htmlcontentTypePattern.
Jar Compatibility :
- 14201 : 1_14201_xhtml_att_stripped.fjar
- 14303 : 1_14303_strip_xhtml.fjar
Steps To Apply FJAR :
- Download the attached fjar, corresponding to your build Number.
- Place the downloaded fjar in the <servicedeskplus_home>\fixes directory.
- Restart the Servicedeskplus Application.
Check whether the issue occurs in your environment and get back to us
New to ADSelfService Plus?
Related Articles
Mail Fetching: Inline Images Dropping Due to Invalid Extension
Issue: The inline image's file name from the email doesn't contain the extension. Example: filename = sys_attachment.dosys_id=5bb0751c8303b5dc96a238226daad371 As a result, the inline image gets stripped during the mail fetching process. The sender of ...
Mail Fetching - Error while processing attachment and inline image.
Issue During the process of fetching emails, attachments are dropped as a result of the presence of directory traversal characters. Furthermore, an issue arises when processing inline images, this particular error related to inline images results in ...
Mail fetching - deleted flag issue
This message will be thrown, when you have provided a shared mailbox. The concept here is, SDP MSP reads the mail from the configured mailbox and adds it as a request. During the time, if some other application fetches the mail from the same mailbox ...
Fix JAR for Parse Error Exception Raised during Mail Fetching
Issue : Some mail are fetched and created as ticket without description due to message corruption temporarily. The issue is can be identified with the below trace. Fix : The issue is not recreated when the mail is skipped to next schedule and fetched ...
Troubleshooting Oauth configuration for mail server settings
Oauth in ServiceDesk Plus / AssetExplorer for Mail SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP (since ...