Are you sure imap.company.com is handling your imap server and not imap.google.com?
On Thu, 4 Feb 2016 at 23:24 Daniel Chimeno <dan...@chimeno.me> wrote: > Hello, > If you are writing about his project: > https://github.com/coddingtonbear/django-mailbox I guess > it's better to ask in the issues page of that project: > https://github.com/coddingtonbear/django-mailbox/issues > > > > El jueves, 4 de febrero de 2016, 23:02:36 (UTC+1), learn django escribió: > >> Hi, >> >> Am trying to setup django mailbox from admin page and seeing issues. >> >> My email address is f...@company.com. We use google.com for our email >> service. >> >> My username is "a...@company.com", name is "abc abc" and password is >> "abc1234". >> > >> Am putting following details on django_mailbox page. >> >> Name: "abc abc" >> > URI: "imap+ssl://abc%40company.com:abc1...@imap.company.com" >> From email: "a...@company.com" >> > >> I see following traceback on running "python manage.py getmail". >> I have enabled imap under setting under google for my account. >> >> $ python manage.py getmail >> /usr/local/lib/python2.7/dist-packages/djangosaml2/conf.py:20: >> RemovedInDjango19Warning: django.utils.importlib will be removed in Django >> 1.9. >> from django.utils.importlib import import_module >> >> Traceback (most recent call last): >> File "manage.py", line 10, in <module> >> execute_from_command_line(sys.argv) >> File >> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", >> line 338, in execute_from_command_line >> utility.execute() >> File >> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", >> line 330, in execute >> self.fetch_command(subcommand).run_from_argv(self.argv) >> File >> "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", >> line 390, in run_from_argv >> self.execute(*args, **cmd_options) >> File >> "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", >> line 441, in execute >> output = self.handle(*args, **options) >> File >> "/usr/local/lib/python2.7/dist-packages/django_mailbox/management/commands/getmail.py", >> line 24, in handle >> messages = mailbox.get_new_mail() >> File "/usr/local/lib/python2.7/dist-packages/django_mailbox/models.py", >> line 393, in get_new_mail >> connection = self.get_connection() >> File "/usr/local/lib/python2.7/dist-packages/django_mailbox/models.py", >> line 229, in get_connection >> conn.connect(self.username, self.password) >> File >> "/usr/local/lib/python2.7/dist-packages/django_mailbox/transports/imap.py", >> line 41, in connect >> typ, msg = self.server.login(username, password) >> File "/usr/lib/python2.7/imaplib.py", line 519, in login >> raise self.error(dat[-1]) >> imaplib.error: Login failed. >> >> Am unable to figure out what is happening here. >> Any help is appreciated. >> Thanks in advance. >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/7d0e657f-a3b0-42e4-821e-9b9c2c7ad15a%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/7d0e657f-a3b0-42e4-821e-9b9c2c7ad15a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAByqUgh%2BU9mzbed%2BXDiE4zshvvTb%3DHCTHomrzPwy6FhZHvdubQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.