Here are my notes on the subject attachment file types (both outbound and inbound):
Quoted from the Pegasus Mail manual:
FILETYPE.PM - Pegasus Mail uses this file to work out what attachment type it should associate with a given file. It is used when "Mailer decides" is chosen as the attachment type in the Attachments view of the Message editor. Having a well-stocked FILETYPE.PM file means that your messages are more likely to be sent with the information necessary to allow other programs to associate file viewers with them. Instructions are contained within the file which is a plain text file.
MIME-MAP.PM - Pegasus Mail uses this file to translate custom MIME content types into attachment types. New MIME content types are being added all the time, and using this file allows Pegasus Mail both to generate them in outgoing mail and to recognize them in incoming mail. For example, say someone sends you a MIME message with the content type "Application/MyWordProcessor", and you have an entry that says that "Appli-
cation/MyWordProcessor" is the same as "MS-Word", then Pegasus Mail will be able to work out that it can run MS-Word to view the document.
Example by BF:
Adding the following lines to FILETYPE.PM will identify the file type of .docx files as "MS-DOCX" and .xslm files as "MS-XLSX".
MS-DOCX,0,X,0,.DOCX
MS-XLSX,0,X,0,.XLSX
Taking this a step further, adding the following lines to MIME-MAP.PM will identify the file type in the Pegasus Mail reader Attachments tab as "Microsoft Office Word Document" and" Microsoft Office Excel Spreadsheet".
application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX
NOTE: "MS-DOCX" and "MS-XLSX" _MUST_ be the same text as the corresponding <file type> entry that you have in FILETYPE.PM
My MIME-MAP.PM file contains these entries:
Text/HTML = HTML-text
application/pdf = PDF-document
application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX
application/ics = iCalendar-Event-File
application/vcs = vCalendar-Event-File
application/dwg = AutoCAD
My FILETYPE.PM file contains these entries:
MS-Word,1,S,0,\219\165\045
PCEXE,1,X,0,.EXE,S,0,MZ
PCEXE,1,X,0,.DLL,S,0,MZ
MS-XLSX,0,X,0,.XLSX
MS-DOCX,0,X,0,.DOCX
ZIP-archive,0,X,0,.ZIP,S,0,PK\003
MS-Richtext,0,X,0,.RTF,S,0,{\092rtf
Program-source,0,X,0,.C,X,0,.H,X,0,.PAS,X,0,.RC,X,0,.CPP,X,0,.BAS,X,0,.ASM
GIF-image,0,X,0,.GIF,S,0,GIF
JPEG-image,0,X,0,.JPG,S,6,JFIF
BMP-image,0,X,0,.BMP,X,0,.DIB,S,0,BM
WAV-sound-file,1,S,0,RIFF,S,8,WAVE
WAV-sound-file,0,X,0,.WAV
WordPerfect,0,S,1,WPC
Excel-sheet,0,X,0,.XLS
Excel-chart,0,X,0,.XLC
MS-Access,0,X,0,.MDB
AVI-Movie,1,S,0,RIFF,S,8,AVI
AVI-Movie,0,X,0,.AVI
Windows-help,1,X,0,.HLP,S,0,?_\003
HTML-text,0,X,0,.HTM
HTML-text,1,S,0,<HTML>
PGP-Public-Key,0,R,0,BEGIN PGP PUBLIC
PGP-encrypted,0,X,0,.PGP
Text,0,X,0,.TXT
; Items below were added by BF
AutoCAD,0,X,0,.DWG
PDF-document,0,X,0,.PDF,S,0,%PDF-
iCalendar-Event-File,0,X,0,.ics
vCalendar-Event-File,0,X,0,.vcs
<p>Here are my notes on the subject attachment file types (both outbound and inbound):
</p><p>Quoted from the Pegasus Mail manual:
FILETYPE.PM -&nbsp; Pegasus Mail uses this file to work out what attachment type it should associate with a given file. It is used when "Mailer decides" is chosen as the attachment type in the Attachments view of the Message editor. Having a well-stocked FILETYPE.PM file means that your messages are more likely to be sent with the information necessary to allow other programs to associate file viewers with them.&nbsp; Instructions are contained within the file which is a plain text file.
MIME-MAP.PM - Pegasus Mail uses this file to translate custom MIME content types into attachment types. New MIME content types are being added all the time, and using this file allows Pegasus Mail both to generate them in outgoing mail and to recognize them in incoming mail. For example, say someone sends you a MIME message with the content type "Application/MyWordProcessor", and you have an entry that says that "Appli-
cation/MyWordProcessor" is the same as "MS-Word", then Pegasus Mail will be able to work out that it can run MS-Word to view the document.
Example by BF:
Adding the following lines to FILETYPE.PM will identify the file type of .docx files as "MS-DOCX" and .xslm files as "MS-XLSX".
MS-DOCX,0,X,0,.DOCX
MS-XLSX,0,X,0,.XLSX
Taking this a step further, adding the following lines to MIME-MAP.PM will identify the file type in the Pegasus Mail reader Attachments tab as "Microsoft Office Word Document" and" Microsoft Office Excel Spreadsheet".
application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX
NOTE:&nbsp;&nbsp; "MS-DOCX" and "MS-XLSX" _MUST_&nbsp; be the same text as the corresponding &lt;file type&gt;&nbsp; entry that you have in FILETYPE.PM </p><p>&nbsp;My MIME-MAP.PM file contains these entries:</p><p>Text/HTML = HTML-text
application/pdf = PDF-document
application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX
application/ics = iCalendar-Event-File
application/vcs = vCalendar-Event-File
application/dwg = AutoCAD</p><p>My FILETYPE.PM file contains these entries:</p><p>MS-Word,1,S,0,\219\165\045
PCEXE,1,X,0,.EXE,S,0,MZ
PCEXE,1,X,0,.DLL,S,0,MZ
MS-XLSX,0,X,0,.XLSX
MS-DOCX,0,X,0,.DOCX
ZIP-archive,0,X,0,.ZIP,S,0,PK\003
MS-Richtext,0,X,0,.RTF,S,0,{\092rtf
Program-source,0,X,0,.C,X,0,.H,X,0,.PAS,X,0,.RC,X,0,.CPP,X,0,.BAS,X,0,.ASM
GIF-image,0,X,0,.GIF,S,0,GIF
JPEG-image,0,X,0,.JPG,S,6,JFIF
BMP-image,0,X,0,.BMP,X,0,.DIB,S,0,BM
WAV-sound-file,1,S,0,RIFF,S,8,WAVE
WAV-sound-file,0,X,0,.WAV
WordPerfect,0,S,1,WPC
Excel-sheet,0,X,0,.XLS
Excel-chart,0,X,0,.XLC
MS-Access,0,X,0,.MDB
AVI-Movie,1,S,0,RIFF,S,8,AVI
AVI-Movie,0,X,0,.AVI
Windows-help,1,X,0,.HLP,S,0,?_\003
HTML-text,0,X,0,.HTM
HTML-text,1,S,0,&lt;HTML&gt;
PGP-Public-Key,0,R,0,BEGIN PGP PUBLIC
PGP-encrypted,0,X,0,.PGP
Text,0,X,0,.TXT
; Items below were added by BF
AutoCAD,0,X,0,.DWG
PDF-document,0,X,0,.PDF,S,0,%PDF-
iCalendar-Event-File,0,X,0,.ics
vCalendar-Event-File,0,X,0,.vcs
</p>