搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I filter mp3 attachments to a folder?

  • 3 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 Zenos

more options

I receive many .mp3 attachments and would like to have them automatically filtered and moved from my inbox to an MP3 folder folder when they are received.

Is that possible?

I receive many .mp3 attachments and would like to have them automatically filtered and moved from my inbox to an MP3 folder folder when they are received. Is that possible?

所有回覆 (3)

more options

The "body" using contains gets access to the normally non visible body parts, so you could use a filter the check for the MIME type of MP3. So you could do a filter on "Content-Type: audio/mpeg;" But that is where it gets messy.

MP3 is a derivative on MPEG. So your files may be listed as audio/mpeg or audio/mp3 or a number of others.

This site list a few for HTML 5

http://voice.firefallpro.com/2012/03/html5-audio-video-mime-types.html

Wikipedia also has a table of audio mime type http://en.wikipedia.org/wiki/Internet_media_type

Unfortunately in a world of the internet not everyone uses the standards and there are always rugged individuals determined to do it their way. see http://stackoverflow.com/questions/10688588/which-mime-type-should-i-use-for-mp3

Therefore you may receive email from some clients with the type application/octet stream and an expectation that the file name will decipher the content type (Like windows uses) and other subtle variations.

more options

Thank you for the information. I will study, and see if I can get a clue.

Robert

more options

FiltaQuilla may be useful if you find what you want to do is beyond the built-in filtering capabilities.