08-19-2019 05:47 AM
Hi,
we want to attach a header to our mails with the attached mime-types. In the Content-Filter/Action Variables documentation section we found a list of possible variables. The "filetypes" variable sounded very promising:
File Types
$filetypes
Replaced with a comma-separated list of the message's attachments' file types.
Unfortunately it seems not to attach the "mime-type" of the files:
We attached a ".zip" and the variable says "compressed/zip" but the mime-type should be "application/zip".
Is there a way to attach the "mime-types" or is there a list of the possible values of the "$filetypes" variable?
Best regards,
Ronny
08-20-2019 02:23 AM
Hi Ronny,
I couldn't find any way we can attach the "mime-types" variable but for the filetypes we can use the variable $filetypes as you have already mentioned.
For more details on the filetype, you can navigate to Mail Policies-->Incoming Filter-->Add Filter-->Add condition-->Attachment File info-->File type is. Here you will be able to see all the filetype details.
I have also attached the screenshots here for the reference.
I hope this helps.
BR,
Pratham
08-21-2019 02:36 AM
Hello Pratham,
thank you for your fast response.
I have extrapolated the list out of that dropdown menu (and the sourcecode of the html):
compressed/7z
compressed/ace
compressed/arc
compressed//arj
compressed/binhex
compressed/bz
compressed/bz2
compressed/cab
compressed/cpio
compressed/gzip
compressed/lha
compressed/lz
compressed/rar
compressed/rpm
compressed/sit
compressed/tar
compressed/unix
compressed/x-windows-packager
compressed/zip
compressed/zoo
document/doc
document/latex
document/lwp
document/mdb
document/mpp
document/msg
document/ole
document/pdf
document/ppt
document/pub
document/rtf
document/torrent
document/wps
document/x-wmf
document/xls
executable/exe
executable/java
executable/mrc
executable/msi
executable/pif
executable/sis
image/bmp
image/cdr
image/cr2
image/crw
image/cur
image/djvu
image/emf
image/gif
image/icc
image/ico
image/jp2
image/jpeg
image/mbm
image/orf
image/pcx
image/pdn
image/png
image/pnm
image/ps
image/psd
image/psp
image/qtif
image/svg
image/tga
image/tiff
image/x-pict2
image/x3f
image/xcf
media/3g2
media/3gp
media/aac
media/aiff
media/ape
media/asf
media/avi
media/flac
media/flash
media/midi
media/mod
media/mov
media/mp2p
media/mp2t
media/mp3
media/mp4
media/mp4a
media/mpeg
media/ogg
media/ram
media/snd
media/w64
media/wav
media/webm
media/wma
media/wmv
text/html
text/txt
text/xml
Unfortunately it seems that there is some inconsistency, i.e.:
I have also tested some files which are not in the list:
But nevermind, we will try to find another solution. :-)
Best Regards,
Ronny
08-21-2019 04:47 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide