View Single Post
Old 07-29-2022, 06:38 AM   #5
bugmen00t
Connoisseur
bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!bugmen00t rocks like Gibraltar!
 
bugmen00t's Avatar
 
Posts: 82
Karma: 100000
Join Date: Aug 2015
Device: Kindle Keyboard 3G + Kindle Voyage WiFi + Kindle PW11 Kids WiFi
Kinda off-topic, but...

What's the maximal size of the file that Calibre could sent to email? I've been experimenting with files of different size a while ago and got this error at some point:

Spoiler:
PHP Code:
connect: ('mail.gmx.com'587
connectto ('mail.gmx.com'587None 
reply
b'220 gmx.net (mrgmx004) Nemesis ESMTP Service ready\r\n' 
replyretcode (220); Msgb'gmx.net (mrgmx004) Nemesis ESMTP Service ready' 
connectb'gmx.net (mrgmx004) Nemesis ESMTP Service ready' 
send'ehlo [10.8.3.9]\r\n' 
replyb'250-gmx.net Hello [10.8.3.9] [***.***.***.***]\r\n' 
replyb'250-8BITMIME\r\n' 
replyb'250-SIZE 69920427\r\n' 
replyb'250 STARTTLS\r\n' 
replyretcode (250); Msgb'gmx.net Hello [10.8.3.9] [***.***.***.***]\n8BITMIME\nSIZE 69920427\nSTARTTLS' 
send'STARTTLS\r\n' 
replyb'220 OK\r\n' 
replyretcode (220); Msgb'OK' 
send'ehlo [10.8.3.9]\r\n' 
replyb'250-gmx.net Hello [10.8.3.9] [***.***.***.***]\r\n' 
replyb'250-8BITMIME\r\n' 
replyb'250-AUTH LOGIN PLAIN\r\n' 
replyb'250 SIZE 69920427\r\n' 
replyretcode (250); Msgb'gmx.net Hello [***.***.***.***] [***.***.***.***]\n8BITMIME\nAUTH LOGIN PLAIN\nSIZE 69920427' 
sendAUTH  
reply
b'235 Authentication succeeded\r\n' 
replyretcode (235); Msgb'Authentication succeeded' 
send'quit\r\n' 
replyb'221 gmx.net Service closing transmission channel\r\n' 
replyretcode (221); Msgb'gmx.net Service closing transmission channel' 

Sending failed...
 
Traceback (most recent call last):
  
File "calibre\gui2\email.py"line 48in run
  File 
"calibre\gui2\email.py"line 137in sendmail
  File 
"calibre\utils\smtp.py"line 184in sendmail
  File 
"smtplib.py"line 968in send_message
  File 
"email\generator.py"line 116in flatten
  File 
"email\generator.py"line 181in _write
  File 
"email\generator.py"line 214in _dispatch
  File 
"email\generator.py"line 272in _handle_multipart
  File 
"email\generator.py"line 116in flatten
  File 
"email\generator.py"line 181in _write
  File 
"email\generator.py"line 214in _dispatch
  File 
"email\generator.py"line 432in _handle_text
  File 
"email\generator.py"line 249in _handle_text
  File 
"email\generator.py"line 155in _write_lines
  File 
"email\generator.py"line 406in write
MemoryError
 

Retrying in 301 seconds
...
 
Waiting 301 seconds before sendingto avoid being marked as spam.
You can control this delay via Preferences->Tweaks 


Not sure if it was software error of my FrankenCalibre (portable 5.44 on Windows 7 x64) or my ancient laptop just ran out of RAM.
bugmen00t is offline   Reply With Quote