Open Octet Stream File
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Nov 9, 2017 • edited
edited
Hi, thank you for the amazing repo! Instead of Content-Type: text/csv is it possible to set Content-Type as application/octet-stream for the attached csv files? thank you |
commented Nov 9, 2017
Hey, thanks for posting. I'm not sure why you would want that :)? It would help understanding how it would fit in the code. |
commented Nov 10, 2017
Thank you Pascal for your prompt reply. Based on my understanding all csv files send via yagmail are detected as 'Content-Type: text/csv; name='some_filename.csv' which is very nice feature because the content of the csv file is directly displayed inline in the body of the email. But for my case I would like to display the attachments as the attachements. See the screenshot. Thank you. |
commented Nov 11, 2017 • edited
edited
Hi Radoslaw, just a guess.. but are you mentioning the csv in |
commented Nov 11, 2017
Hi Pascal, yes I'm using
Disk drill mac keygen. Thank you |
added a commit that referenced this issue Nov 11, 2017
commented Nov 11, 2017
Could you try to see if it works for you with |
commented Nov 11, 2017
No luck.
here are the raw content of the email: |
commented Nov 11, 2017 • edited
edited
I think I misunderstood the question! For me in gmail, the csv shows just fine (not inline, but as attachment). But you want |
commented Nov 12, 2017 • edited
edited
Yes it works on gmail web client. See the part of the raw source, email send via perl's based on my research adding |
changed the titleContent-Type: application/octet-stream for the csv filesNov 12, 2017
commented May 4, 2018
Had the same problem, still a bug at v0.10.212. @radoslawoska fix works. |
commented May 4, 2018
I have missed this one, thanks for bringing it back to attention. Feel free to make a PR as you've already found the fix, I'd gladly accept it and put it on pypi! |
added a commit to amrutadotorg/yagmail that referenced this issue Nov 5, 2018
csv files proper handling in the Mac mail client
referenced this issue Nov 5, 2018
Opencsv files proper handling in the Mac mail client #129
commented Nov 5, 2018
thank you, PR created |
My client sent me file, suppose to be Backup file of MSAccess. They are using MSAccess as database application.
The file is around 80MB. I am expecting a backup file from them.
What I got is Binary (application/octet-stream) file type. It is neither SQL nor .BAK.
I am planning to get proper backup file from them in whatever format they have. Download novel pdf tere liye. And convert whole into MySQL format. Fortunately I have trail version of Red Gate software for 14 days that converts .BAK into SQL format.
I cannot open/use Binary (application/octet-stream) file or use it to convert into MySQL. How can I achieve proper bakcup file with Binary (application/octet-stream) file type? I would appreciate any solution to achieve my goal.
1 Answer
In my case, it was a file exported from Heroku using the commands:
The file was imported into my local database using:
See the docs here.