View Single Post
Old 12-14-2019, 05:12 PM   #1
auriculares
Junior Member
auriculares began at the beginning.
 
auriculares's Avatar
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Location: France
Device: Kindle 2018
Question Error with sending mail feature

Hello,

I'm new to the forum, I would like to say thank you Kovid Goyal and those that maintain Calibre for that incredible peace of software !

I'm trying to set up the sending by mail feature, and I'm having some trouble. I'm using GMX and when hitting 'Try mail settings', I get the following error:

Code:
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/wizard/send_email.py", line 209, in test_email_settings
    encryption=opts.encryption, port=opts.relay_port)
  File "/usr/lib/calibre/calibre/utils/smtp.py", line 185, in sendmail
    s.sendmail(from_, to, msg)
  File "/usr/lib/calibre/calibre/utils/smtplib.py", line 773, in sendmail
    raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {u'This is a test': (501, 'Syntax error in parameters or arguments')}


Log:
connect: (u'mail.gmx.com', 587)
connect: (u'mail.gmx.com', 587)
reply: '220 gmx.com (mrgmx105) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: gmx.com (mrgmx105) Nemesis ESMTP Service ready
connect: gmx.com (mrgmx105) Nemesis ESMTP Service ready
send: u'ehlo [192.168.1.18]\r\n'
reply: '250-gmx.com Hello [192.168.1.18] [82.251.79.227]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-SIZE 69920427\r\n'
reply: '250 STARTTLS\r\n'
reply: retcode (250); Msg: gmx.com Hello [192.168.1.18] [82.251.79.227]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
STARTTLS
send: 'STARTTLS\r\n'
reply: '220 OK\r\n'
reply: retcode (220); Msg: OK
send: u'ehlo [192.168.1.18]\r\n'
reply: '250-gmx.com Hello [192.168.1.18] [82.251.79.227]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250 SIZE 69920427\r\n'
reply: retcode (250); Msg: gmx.com Hello [192.168.1.18] [82.251.79.227]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
send: AUTH <censored>
reply: '235 Authentication succeeded\r\n'
reply: retcode (235); Msg: Authentication succeeded
send: u'mail FROM:<auriculares@gmx.com> size=533\r\n'
reply: '250 Requested mail action okay, completed\r\n'
reply: retcode (250); Msg: Requested mail action okay, completed
send: u'rcpt TO:<This>\r\n'
reply: '501 Syntax error in parameters or arguments\r\n'
reply: retcode (501); Msg: Syntax error in parameters or arguments
send: 'rset\r\n'
reply: '250 OK\r\n'
reply: retcode (250); Msg: OK
send: 'quit\r\n'
reply: '221 gmx.com Service closing transmission channel\r\n'
reply: retcode (221); Msg: gmx.com Service closing transmission channel
Looking for a solution, I found a single thread with the same problem. In there, it is suggested to change the name of the computer. But the issue doesn't seem exactly the same as mine....

For details, I'm using Arch Linux and Calibre 4.5.0.

Thank you in advance,
Auriculares.

Last edited by auriculares; 12-14-2019 at 05:13 PM. Reason: mispelled title
auriculares is offline   Reply With Quote