CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME (408 Views)
Reply
Super Advisor
robert70
Posts: 336
Registered: ‎10-20-2004
Message 1 of 6 (408 Views)

CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Hi

 

I am running VMS 8.4 on an Integrity Server.

We utilise the MAIL application and send via an SMTP server.

I have set up the MIME$FILETYPES.DAT to allow the delivery of PDF,XLS,DOC attachments

All these work well

However sending XLSX extensions does not work - We get "corrupt" file when attempting to open on the received email.

The MIME$FILETYPES.DAT looks like this

 

--------------------------------------------------------------------------------------------------------------------------------------

 # JPG
 jpg, image/jpg, Base64
 jpeg, image/jpeg, Base64
 #
 #
 # CDA Viewer
 ps, application/ps, Base64
 ddif, application/ddif, Base64
 #
 # PDF
 pdf, application/pdf, Base64
 #
 # For PC applications we don't have
 # ---------------------------------
 doc, application/msword, Base64
 xls, application/xls,    Base64
 ppt, application/ppt,    Base64
 zip, application/zip, Base64
 xlsx, application/xlsx, Base64

 

---------------------------------------------------------------------------------------------------------------------------------------

 

any help please would be greatly received!

thanks

 

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,075
Registered: ‎02-23-2005
Message 2 of 6 (386 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,075
Registered: ‎02-23-2005
Message 3 of 6 (379 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Please use plain text.
Super Advisor
robert70
Posts: 336
Registered: ‎10-20-2004
Message 4 of 6 (368 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

i know that the problem lies with the way that the XLSX is setup in the MIME FILE

 

MIME$FILETYPES.DAT

 

 

 doc, application/msword, Base64
 xls, application/xls,    Base64
 ppt, application/ppt,    Base64
 zip, application/zip, Base64


the DOC,XLS,PPT & ZIP attachments in MAIL work correctly

the XLSX does not due to me obviously using the wrong MIME type File

 

xlsx, application/xlsx, Base64

 

there must be a file type for XLSX in MIME - cant find this anywhere on the web

Please use plain text.
Honored Contributor
Volker Halle
Posts: 5,203
Registered: ‎04-26-2004
Message 5 of 6 (362 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

[ Edited ]

Robert,

 

try googling for 'MIME.TYPES .XSLX' ...

 

After reading a couple of pages, this led me to:

 

Register the 2007 Office system file format MIME types on servers

 

http://technet.microsoft.com/en-us/library/ee309278%28office.12%29.aspx

 

HTH,

 

Volker.

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,075
Registered: ‎02-23-2005
Message 6 of 6 (337 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation