CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME (694 Views)
Reply
Valued Contributor
robert70
Posts: 345
Registered: ‎10-20-2004
Message 1 of 6 (694 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

 

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 2 of 6 (672 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 3 of 6 (665 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

Valued Contributor
robert70
Posts: 345
Registered: ‎10-20-2004
Message 4 of 6 (654 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

Honored Contributor
Volker Halle
Posts: 5,209
Registered: ‎04-26-2004
Message 5 of 6 (648 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.

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 6 of 6 (623 Views)

Re: CORRUPTED xlsx FILE WHEN DELIVERED WITH MAIL/MIME

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.