10-26-2022, 08:27 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: kindle
|
calibre-smtp.exe unclear error
when running this python script
sp.Popen(["cal/calibre-smtp.exe", "-a dummy.epub", "jonas.charrier1@gmail.com karine.charrier@kindle.com \"mailBody\""]).communicate() i get this error You must specify the from address, to address and body text on the command line even after reading the doc :https://manual.calibre-ebook.com/gen...ibre-smtp.html i dont really understand how i must use it. Any help would be aprecciated. |
10-26-2022, 09:46 AM | #2 |
creator of calibre
Posts: 44,030
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to understand how to use Popen to pass arguments. This is well documented in the python std library.
|
10-26-2022, 10:17 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: kindle
|
I think i found the problem, a fourth argument seems to be needed (after from to and the body)
but i dont know why (i left it blank) |
10-26-2022, 10:26 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: kindle
|
did the default relay "http://retail-smtp-in.amazon.com/" use to work ?
|
10-26-2022, 11:27 AM | #5 |
creator of calibre
Posts: 44,030
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no default relay. And you really should take the time to understand how to use subprocess.Popen
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
smtp error | mark_e_h | Calibre | 2 | 07-02-2021 10:55 PM |
ebook-convert.exe doesn't work with deDRM plugin, unlike GUI or calibredb.exe | fireattack | Conversion | 8 | 09-26-2020 07:14 PM |
fetch-ebook-metadata.exe python error | dzog | Calibre | 2 | 11-04-2016 05:26 AM |
(Suggestion) Move ebook-viewer.exe to the main directory next to calibre-portable.exe | avid01 | Library Management | 6 | 07-03-2014 03:55 AM |
A problem: call calibre-smtp.exe by CreateProcess in C++ | woodx99 | Development | 5 | 04-25-2012 04:37 AM |