Please help me out.
I got an ERPnext server with a custom domain and 3 addon domain in the Email Domain section.
When I want to send a mail it’s always go into failure and in error log I got the following meassege:
‘NoneType’ object has no attribute ‘strip’
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.py”, line 408, in send_one
smtpserver.sess.sendmail(email.sender, recipient.recipient, encode(message))
File “/usr/lib/python3.5/smtplib.py”, line 856, in sendmail
(code, resp) = self.mail(from_addr, esmtp_opts)
File “/usr/lib/python3.5/smtplib.py”, line 533, in mail
self.putcmd(“mail”, “FROM:%s%s” % (quoteaddr(sender), optionlist))
File “/usr/lib/python3.5/smtplib.py”, line 153, in quoteaddr
AttributeError: ‘NoneType’ object has no attribute ‘strip’
What is the problem? I can’t figure out. And the mails are still don’t work.
I have recreated the domains and the mail accounts too, but still no luck.