Giter Site home page Giter Site logo

Mail Send Problem about calibre-web HOT 6 CLOSED

janeczku avatar janeczku commented on May 20, 2024
Mail Send Problem

from calibre-web.

Comments (6)

janeczku avatar janeczku commented on May 20, 2024

The error should be in the docker logs:
docker logs <container-id>

Alternatively:
docker exec -ti <container-id> cat /data/logs/supervisord.log

By the way, does your email provider use SSL for SMTP?

from calibre-web.

J-Ha avatar J-Ha commented on May 20, 2024

Log and a Screenshot:

`2016-03-27 17:03:36,907 DEBG 'gunicorn-calibre' stdout output:
[2016-03-27 17:03:36 +0000] [32] [INFO] Listening at: http://127.0.0.1:8083 (32)

2016-03-27 17:03:36,907 DEBG 'gunicorn-calibre' stdout output:
[2016-03-27 17:03:36 +0000] [32] [INFO] Using worker: sync

2016-03-27 17:03:36,909 DEBG 'gunicorn-calibre' stdout output:
[2016-03-27 17:03:36 +0000] [40] [INFO] Booting worker with pid: 40

2016-03-27 17:03:36,920 DEBG 'gunicorn-calibre' stdout output:
[2016-03-27 17:03:36 +0000] [41] [INFO] Booting worker with pid: 41

2016-03-27 17:03:37,922 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-03-27 17:03:37,922 INFO success: nginx-reload entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-03-27 17:03:37,922 INFO success: gunicorn-calibre entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)`

the log shows nothing about the error.

its my own mail server, supports both, port 25 without and 587 with SSL/TLS

from calibre-web.

janeczku avatar janeczku commented on May 20, 2024

Found the bug and fixed in 1180de8. Docker image is currently building on Docker Hub.
Please report back if this is working for you.

from calibre-web.

J-Ha avatar J-Ha commented on May 20, 2024

Nearly perfect, mail function runs great, even with StarTLS!
only one problem i think theres a small mistake with the kindlegen.
You had to send the book as a mobi-file to the Kindle amazon only accepts a few file formats.
(my Libary holds all books in the standard formats : mobi, azw3, epub)
sendmail success, but a mail from amazon returns:
<....>:

  • Evolution - Stephen Baxter.azw3

<...>Kindle Personal Documents Service supports the following file types:
Kindle Format (.MOBI)
Microsoft Word (.DOC, .DOCX)
HTML (.HTML, .HTM)
RTF (.RTF)
Text (.TXT)
JPEG (.JPEG, .JPG)
GIF (.GIF)
PNG (.PNG)
BMP (.BMP)
PDF (.PDF)

On some Amazon Kindle Documents are the supportet kindle files are mobi, on other azw and mobi, but azw3 is a specific version-up, wich is not mail able.
just fallback to only mobi send out, that will support the 1st gen Kindle-reader aswell.

from calibre-web.

janeczku avatar janeczku commented on May 20, 2024

Interesting that Amazon doesn't support their very own formats... 😁
I will change it so that just mobi and PDF are mailable formats.

from calibre-web.

janeczku avatar janeczku commented on May 20, 2024

Fixed in e8b2ea8

from calibre-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.