Discussion:
[Mayan EDMS: 2167] Docker version of Mayan 2.7.3: sending email via gmail
Phiroz
2017-10-17 07:38:45 UTC
Permalink
hi All,

so i've been searching forums to figure this out. i'm wondering if anyone
else has encountered this.

this is my current setup.

clean ubuntu 16.04 VM
docker image of mayan 2.7.3
using mysql

in mysql
table mailer_usermailer is holding the smtp information.
backend_path: mailer.mailers.DjangoSMTP
backend_data: {"use_tls": true, "host": "smtp.gmail.com", "user":
"***@gmail.com", "use_ssl": false, "password": "xxxxxx", "port": 587}

table mailer_usermailerlogentry is showing me
(530, '5.5.1 Authentication Required. Learn more at\n5.5.1
https://support.google.com/mail/?p=WantAuthError u8sm14597323pgp.17 -
gsmtp', u'***@localhost')

table mailer_logentry is empty

in Gmail
i have enable the 'Allow less secure apps:'

What happens:
under system ->settings -> mailing profiles. i create the profile and try
the test email. it doesnt display anything and jumps back to the mailing
profiles.
i click on log to see if anything was logged and it is empty.

i've also preview a document and action -> email link
a msgbox indicating the msg has been sent to the q popup.

i've tried using
docker exec -i -t mayan-edms /bin/bash
to get a shell into the container, and
/usr/local/lib/python2.7/dist-packages/mayan/error.log
doesnt hold any recent errors.

i have other services using that email to send out without issues.
so i'm not sure where to check next.
how do i check what information it's using?
i want to try this via command line
https://docs.djangoproject.com/en/dev/topics/email/
if i'm not wrong by default its in settings.py, but since the information
is on the database i become lost.

thanks in advance for any replies.
--
---
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...