06-29-2022, 04:33 PM | #1 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite 3rd Generation
|
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. |
06-29-2022, 04:51 PM | #2 |
Grand Sorcerer
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
|
Advert | |
|
06-29-2022, 10:46 PM | #3 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
06-30-2022, 12:08 PM | #4 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite 3rd Generation
|
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.)
|
06-30-2022, 06:35 PM | #5 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite 3rd Generation
|
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 |
|
Similar Threads | ||||
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 |