Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2022, 06:21 AM   #1
flensrowi
Junior Member
flensrowi began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2012
Device: Kindle Oasis2, Basic Kindle 10th Gen, Pocketbook Touch Lux
File name specification while share via email under linux

Hi,

I'm using "Email to..." quite often to send books to Pocketbook E-Readers. this broke for me some time ago. The Pocketbook Sync service replies every time that there was no attachment (which is wrong).
If I send the book to my regular mail address everything seems to be fine. It also works if I use Thunderbird to send the Book.
I'm using Linux nearly all the time but I noticed it works fine if I use Calibre under Windows 11.

So I took a deeper look into the mail(s) Calibre is sending and noticed something odd:

This is the working file name specification from Calibre/Win11:
Quote:
Content-Type: application/epub+zip
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Die Bahn - APuZ 8-9/2022.epub"
MIME-Version: 1.0
while it looks different from Calibre/Linux (Manjaro):
Quote:
Content-Type: application/epub+zip
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*0*=us-ascii''Die%20Eskalation%3A%20Thriller%20%28German% 20Edition;
filename*1*=%29%20-%20Andreas%20Brandhorst.epub
MIME-Version: 1.0
Thunderbird displays both file names as intended but if I use roundcube webmail the file name is displayed as "Part 2" and I guess the Pocketbook service also interprets it the same way.

So the question is how to fix this? I'm using Manjaro Linux and I guess Calibre uses some python function to build an send the mail.
Is there some option within Calibre (guess not) or a way to configure the python module?
flensrowi is offline   Reply With Quote
Old 04-27-2022, 10:22 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
pbsync cant handle non-ascii filenames which is now a fifteen year old standard. The calibre GUI automatically uses ascii filenames when sending to @pbsync addresses, if you use calibre-smtp you are on your own.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Share Quote to Email is gone eilon Amazon Kindle 18 06-18-2020 06:32 PM
Cannot share via email criterion2005 Calibre 2 06-08-2020 04:04 AM
Cannot share by email bookit Calibre 10 02-03-2011 07:47 PM
Share by Email Draccy Calibre 2 01-11-2011 01:18 PM
PRS-500 lrf file specification Dave Berk Sony Reader Dev Corner 2 05-01-2007 02:12 AM


All times are GMT -4. The time now is 12:38 PM.


MobileRead.com is a privately owned, operated and funded community.