Discussion:
[Mayan EDMS: 2202] Cannot send emails
Lorenzo Pozzoli
2017-11-16 11:32:28 UTC
Permalink
Hi,

I have a problem with sending email in mayan edms.

I configured mail profile correctly but I'm able to send mail only from
forgot password tool.

When I try to send for example links of documents appears mail added to
queue for sending but nothing happens.

I cannot see nothing even in Events , email log and scheduled /active tasks.

Could you help me to solve this problem?

Thank You

Lorenzo Pozzoli
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lorenzo Pozzoli
2017-11-16 12:03:27 UTC
Permalink
This is the log when I try to send email

[2017-11-16 12:01:13,804: ERROR/MainProcess] Task
mailer.tasks.task_send_document[e10c90b4-23d5-4c16-bf38-ce13802be5b2]
raised unexpected: TypeError('character mapping must return integer, None
or unicode',)
Traceback (most recent call last):
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/celery/app/trace.py",
line 240, in trace_task
R = retval = fun(*args, **kwargs)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/celery/app/trace.py",
line 438, in __protected_call__
return self.run(*args, **kwargs)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mailer/tasks.py",
line 26, in task_send_document
document=document, as_attachment=as_attachment
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/mailer/models.py",
line 88, in send
with self.get_connection() as connection:
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/mail/backends/base.py",
line 43, in __enter__
self.open()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py",
line 67, in open
self.connection.login(self.username, self.password)
File "/usr/lib/python2.7/smtplib.py", line 607, in login
(code, resp) = self.docmd(encode_cram_md5(resp, user, password))
File "/usr/lib/python2.7/smtplib.py", line 571, in encode_cram_md5
response = user + " " + hmac.HMAC(password, challenge).hexdigest()
File "/usr/lib/python2.7/hmac.py", line 72, in __init__
self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode


Il giorno giovedì 16 novembre 2017 12:32:28 UTC+1, Lorenzo Pozzoli ha
Post by Lorenzo Pozzoli
Hi,
I have a problem with sending email in mayan edms.
I configured mail profile correctly but I'm able to send mail only from
forgot password tool.
When I try to send for example links of documents appears mail added to
queue for sending but nothing happens.
I cannot see nothing even in Events , email log and scheduled /active tasks.
Could you help me to solve this problem?
Thank You
Lorenzo Pozzoli
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...