Skip to main content
Version: 1.1

Content type patterns

Some fields - such as Skip inline attachments in the Strip attachments action - match an attachment by its Content-Type. This page lists the most common content types you can use.

How matching works

  • Provide one or more patterns separated by a semicolon (;), for example image/*;text/calendar.
  • The * character is a wildcard that matches any sequence of characters, so image/* matches image/png, image/jpeg, and every other image type.
  • Each pattern is compared against the attachment's Content-Type (for example image/png).

Wildcard patterns

Content typeDescription
image/*Any image (JPEG, PNG, GIF, ...) - typically inline logos and signature images
text/*Any text-based part (plain text, HTML, calendar, ...)
application/*Any application content type (documents, archives, binary data, ...)
*Every content type

Images

Content typeDescription
image/jpegJPEG image (.jpg, .jpeg)
image/pngPNG image (.png)
image/gifGIF image (.gif)
image/bmpBitmap image (.bmp)
image/tiffTIFF image (.tif, .tiff)
image/webpWebP image (.webp)
image/svg+xmlSVG vector image (.svg)

Calendar

Content typeDescription
text/calendariCalendar meeting invitation (.ics)
application/icsAlternative iCalendar type used by some clients

Documents

Content typeDescription
application/pdfPDF document (.pdf)
application/mswordMicrosoft Word 97-2003 (.doc)
application/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word (.docx)
application/vnd.ms-excelMicrosoft Excel 97-2003 (.xls)
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel (.xlsx)
application/vnd.ms-powerpointMicrosoft PowerPoint 97-2003 (.ppt)
application/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint (.pptx)
text/plainPlain text (.txt)
text/htmlHTML content (.html)
text/csvComma-separated values (.csv)

Archives

Content typeDescription
application/zipZIP archive (.zip)
application/gzipgzip archive (.gz)
application/x-7z-compressed7-Zip archive (.7z)
application/x-rar-compressedRAR archive (.rar)
application/x-tartar archive (.tar)

Other

Content typeDescription
application/octet-streamGeneric binary data, used when the type is unknown
audio/*Any audio file
video/*Any video file