Octet Stream Base64
On
I don't believe you can.
http://kb.iu.edu/data/agtj.html
As a test, I just send a Word file as an attachment with no message text - the attachment only with no text or signature using with RTF selected for message composition. I do have send Windows Friendly Attachments selected for all sent messages.
The Raw Source for the sent message reveals the following:
--Apple-Mail-5--378340134
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream;
x-mac-type=5738424E;
x-unix-mode=0600;
x-mac-creator=4D535744;
name=DGC.doc
Content-Disposition: attachment;
filename=DGC.doc
Does the Content-Disposition indicate attachment with the file name?
Are you including the file extension with the file - .doc?
Are you using RTF or Plain Text for message composition?
Are you using the Attach feature with a message or do you drag and drop the attachment within the message body?
Are you using a Signature that includes an image?
Are you adding attachments below all message text including a signature if one is used?
Are you using send Windows Friendly Attachments which is designed to remove the Apple resource fork from attached files only which is invisible to fellow Mac users?
http://kb.iu.edu/data/agtj.html
As a test, I just send a Word file as an attachment with no message text - the attachment only with no text or signature using with RTF selected for message composition. I do have send Windows Friendly Attachments selected for all sent messages.
The Raw Source for the sent message reveals the following:
--Apple-Mail-5--378340134
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream;
x-mac-type=5738424E;
x-unix-mode=0600;
x-mac-creator=4D535744;
name=DGC.doc
Content-Disposition: attachment;
filename=DGC.doc
Does the Content-Disposition indicate attachment with the file name?
Are you including the file extension with the file - .doc?
Are you using RTF or Plain Text for message composition?
Are you using the Attach feature with a message or do you drag and drop the attachment within the message body?
Are you using a Signature that includes an image?
Are you adding attachments below all message text including a signature if one is used?
Are you using send Windows Friendly Attachments which is designed to remove the Apple resource fork from attached files only which is invisible to fellow Mac users?
This question already has an answer here:
- How to build PDF file from binary string returned from a web-service using javascript 8 answers
I have to read file(pdf) from server and web service response i am getting of type application/octet-stream I need to create file stream and create file(pdf).
Krutesh AminKrutesh Amin
marked as duplicate by Patrick Evans, guest271314 javascriptAug 18 '17 at 18:15
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.