- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: MIME of RTF files with file extension DOC does...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2011 12:53 PM
тАО08-19-2011 12:53 PM
MIME of RTF files with file extension DOC does not work
OpenVMS V8.4 on Itanium
MIME V1.93
Trying to use MIME to attach a text file containing a document in RichTextFormat (See attached file). The file extension is DOC. But the resulting MIME file only contains a one line snippet (See bolded info below) of the actual document.
>MIME
MIME> SHOW VERSION
MIME Version: V1.93
MIME> SHOW FILE_TYPES
Known File Types:
Extension: ZIP, Content-Type: application/x-zip-compressed, Encoding: Base64
Extension: DOC, Content-Type: text/plain, Encoding: 7bit/8bit
Extension: RTF, Content-Type: text/plain, Encoding: 7bit/8bit
Extension: TXT, Content-Type: text/plain, Encoding: 7bit/8bit
Extension: LPT, Content-Type: text/plain, Encoding: 7bit/8bit
Extension: HTML, Content-Type: text/html, Encoding: 7bit/8bit
Extension: HTM, Content-Type: text/html, Encoding: 7bit/8bit
Extension: JPEG, Content-Type: image/jpeg, Encoding: Base64
Extension: JPG, Content-Type: image/jpeg, Encoding: Base64
Extension: GIF, Content-Type: image/gif, Encoding: Base64
Extension: TXT, Content-Type: text/plain; charset=ISO-8859-1, Encoding: 7bit/8bit
Extension: OLB, Content-Type: application/vms-olb, Encoding: Base64
Extension: OBJ, Content-Type: application/vms-obj, Encoding: Base64
Extension: MSG, Content-Type: message/rfc822, Encoding: 7bit/8bit
Extension: LOG, Content-Type: text/plain; charset=ISO-8859-1, Encoding: 7bit/8bit
Extension: HTML, Content-Type: text/html, Encoding: 7bit/8bit
Extension: EXE, Content-Type: application/vms-exe, Encoding: Base64
Extension: COM, Content-Type: text/plain; charset=ISO-8859-1, Encoding: 7bit/8bit
Extension: BCK, Content-Type: application/vms-backup, Encoding: Base64
MIME> NEW TEST.MIME
.
.
MIME> add SRVTKT_S47697_000003_1.DOC
MIME> exit
Save current file? [Y] y
%MIME-I-SAVEFILE, saving file . . .
TEST.MIME
>type test.mime
Mime-version: 1.0
Content-Type: multipart/mixed; boundary="580919878.112235662363365455.1@OpenVMS.Mime.V1.93"
Content-Transfer-Encoding: 7bit
Message-ID: <580919878.112235662363365455.2@OpenVMS.Mime.V1.93>
--580919878.112235662363365455.1@OpenVMS.Mime.V1.93
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Test Message
--580919878.112235662363365455.1@OpenVMS.Mime.V1.93
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=SRVTKT_S47697_000003_1.DOC
S | Damage_________ Matrl_________ Loc____ ____ ____\parW | Dispo: Completed / NotHome / Refused / PartDamg\par
--580919878.112235662363365455.1@OpenVMS.Mime.V1.93--
Oddly enough, if I change the file extension from DOC to RTF it works, even though both DOC and RTF have the same content type definitions in SYS$MANAGER:MIME$FILETYPES.DAT
Have tried changing the content type from TEXT/PLAIN to the following with no avail:
text/rtf
text/richtext
application/rtf
Also, this works no problem on our Alpha cluster running VMS 7.3-1 and MIME 1.7
Thanks for any help or ideas,
Dan Herron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2011 07:10 AM
тАО08-22-2011 07:10 AM
Re: MIME of RTF files with file extension DOC does not work
I'm not sure where I obtained it, but my version of MIME$FILETYPES.DAT does not have a definition for RTF, but for DOC (described in the comments as a PC application) it has the following:
doc, application/msword, Base64
hth,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2011 07:35 AM
тАО08-22-2011 07:35 AM
Re: MIME of RTF files with file extension DOC does not work
Ok, I imagine I have not (as of yet) received any replies to my original post as it indicated I had a work-around solution involving changing the the attachment file extension from DOC to RTF. As well, you may be wondering why I would even use a DOC file extension for a file containg an RTF formatted document. The reason is when the email recipient clicks on a DOC attachment it usually brings the document up in their preferred word processing software. Clicking on an RTF usually brings the document up in Word Pad (if they have it) which is a perfectly servicable word processor, but it is just not as "nifty".
However there is still the issue that when both the DOC and RTF content type definitions in the MIME$FILETYPES.DAT file are the same the results should be the same, and clearly are not.
Or am I missing something?
Another option would be if someone out there has an Itanium version of MIME that is before v1.93, as maybe a bug was introduced in the latest version. Could someone shoot me an Itanimum MIME executable that is prior to v1.93?
Or do I just call this a bug and contact OpenVMS support?
Thanks for your help,
Dan Herron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2011 07:47 AM
тАО08-22-2011 07:47 AM
Re: MIME of RTF files with file extension DOC does not work
Hi Mike,
Thanks for the suggestion, but it did not work. The attachment file really is just simple text and not binary data so,
content type application with Base64 does not play well with the file. That is why I am kind of amazed that content type text/plain is not working.
Thanks again,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2011 01:08 PM
тАО08-22-2011 01:08 PM
Re: MIME of RTF files with file extension DOC does not work
I don't have any real expertise here, but perhaps try leaving the content-type as text/plain but change the encoding to QUOTED_PRINTABLE (my V7.3-2 version of MIME will throw an error if it isn't specified in all uppercase, maybe that's been fixed, too).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2011 07:25 AM
тАО08-23-2011 07:25 AM
Re: MIME of RTF files with file extension DOC does not work
Hi Mike,
Thanks for the suggestion of using Quoted-Printable. Tried it and the mime file contains the whole document, but when the email recipient clicks on the email attachment the word processing application does not do the RTF formating.
Incidentally I was able to specify Quoted-Printable in mixed case without any problems.
Thanks again,
Dan