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)
connect: to ('mail.gmx.com', 587) None
reply: b'220 gmx.net (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
connect: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
send: 'ehlo [10.8.3.9]\r\n'
reply: b'250-gmx.net Hello [10.8.3.9] [***.***.***.***]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-SIZE 69920427\r\n'
reply: b'250 STARTTLS\r\n'
reply: retcode (250); Msg: b'gmx.net Hello [10.8.3.9] [***.***.***.***]\n8BITMIME\nSIZE 69920427\nSTARTTLS'
send: 'STARTTLS\r\n'
reply: b'220 OK\r\n'
reply: retcode (220); Msg: b'OK'
send: 'ehlo [10.8.3.9]\r\n'
reply: b'250-gmx.net Hello [10.8.3.9] [***.***.***.***]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-AUTH LOGIN PLAIN\r\n'
reply: b'250 SIZE 69920427\r\n'
reply: retcode (250); Msg: b'gmx.net Hello [***.***.***.***] [***.***.***.***]\n8BITMIME\nAUTH LOGIN PLAIN\nSIZE 69920427'
send: AUTH
reply: b'235 Authentication succeeded\r\n'
reply: retcode (235); Msg: b'Authentication succeeded'
send: 'quit\r\n'
reply: b'221 gmx.net Service closing transmission channel\r\n'
reply: retcode (221); Msg: b'gmx.net Service closing transmission channel'
Sending failed...
Traceback (most recent call last):
File "calibre\gui2\email.py", line 48, in run
File "calibre\gui2\email.py", line 137, in sendmail
File "calibre\utils\smtp.py", line 184, in sendmail
File "smtplib.py", line 968, in send_message
File "email\generator.py", line 116, in flatten
File "email\generator.py", line 181, in _write
File "email\generator.py", line 214, in _dispatch
File "email\generator.py", line 272, in _handle_multipart
File "email\generator.py", line 116, in flatten
File "email\generator.py", line 181, in _write
File "email\generator.py", line 214, in _dispatch
File "email\generator.py", line 432, in _handle_text
File "email\generator.py", line 249, in _handle_text
File "email\generator.py", line 155, in _write_lines
File "email\generator.py", line 406, in write
MemoryError
Retrying in 301 seconds...
Waiting 301 seconds before sending, to 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.