Skip to content
New issue

Have 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

Mail Send Problem #4

Closed
J-Ha opened this issue Mar 27, 2016 · 6 comments
Closed

Mail Send Problem #4

J-Ha opened this issue Mar 27, 2016 · 6 comments

Comments

@J-Ha
Copy link

J-Ha commented Mar 27, 2016

From Dockerhub :
is the mail send function up to date?
filled in the smtp settings in the admin menu, but i'll get an error message

Could you open an issue report on GitHub and paste the error log? Thanks!

where is the error log located?

@janeczku
Copy link
Owner

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?

@J-Ha
Copy link
Author

J-Ha commented Mar 27, 2016

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

@janeczku
Copy link
Owner

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

@J-Ha
Copy link
Author

J-Ha commented Mar 28, 2016

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.

@janeczku
Copy link
Owner

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

@janeczku
Copy link
Owner

Fixed in e8b2ea8

OzzieIsaacs pushed a commit that referenced this issue Aug 12, 2017
Added tags metadata handler for epubs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants