![]() |
#1 |
Connoisseur
![]() Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Email to Kindle randomly rejecting EPUB attachments
I wrote a procmail filter that converts certain HTML emails into EPUB books via the Calibre CLI and then forwards them as attachments to my Kindle email address. Usually, this works fine, but every once in a while the transmission is rejected with an email response "There was a problem with the document(s) you sent to Kindle." I'm definitely not exceeding the size limitations (the EPUB files are always less than 1MB), and I'm not using any unusual calibre convert options -- I've tried both --epub-version 2 and --epub-version 3, and both occasionally generate this rejection error.
Does anyone have any ideas for isolating what the cause of the occasional rejection might be? The Amazon email itself gives no detail as to why it thinks the attached EPUB is noncompliant. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,051
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Thanks for the pointers. One workaround is converting from EPUB to MOBI to EPUB. But since I'm starting with HTML, should it work just as well to convert HTML->MOBI->EPUB? (I'm testing now but the problem is not entirely reproducible so just looking for any wisdom from people who have gone down this road.)
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
Alternatively, I wonder if just removing the Table of Contents would make the file more palatable to Amazon? Is there a way to do this from the command-line? I'm not seeing any applicable option in the ebook-convert manpage.
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
email, epub, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OWA email attachments Boox Max | Dagoof | Onyx Boox | 1 | 05-08-2020 02:02 PM |
Kindle keeps rejecting emailed book sent via Calibre | The Zinc Girl | Devices | 14 | 02-29-2020 12:50 AM |
Reader: "save as PDf and email": Attachments not shown | paula-t | enTourage Archive | 5 | 03-21-2011 08:07 PM |
Tip: converting email attachments to pdf to makr-up on the e-ink reader without a PC | Peter | enTourage Archive | 2 | 05-15-2010 03:39 PM |