Closed ThomasWaldmann closed 4 years ago
Happens for the xmlrpc call made by wikimailimport.
No suitable user found for mail address u'Mustermann'
This is likely the main issue why the mail import does not work.
The AttributeError for auth_method is maybe only a secondary error.
From: =?utf-8?B?S29xxxxxxxxxxxx=?= xx@xxx.xxx
The email address looks like this.
So we have 2 issues here:
The problem is:
>>> getaddresses([u'From: Mustermann, Hans <hm@example.org>'])
[('', u'Mustermann'), (u'Hans', u'hm@example.org')]
>>> getaddresses([u'From: "Mustermann, Hans" <hm@example.org>'])
[(u'Mustermann, Hans', u'hm@example.org')]
getaddresses is from Python standard library, not moin code.