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/b600ce76-0881-4281-8a93-30697f3dc7d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to