Hi All,

I was able to resolve the issue yesterday night.
Forgot to send an email.

I had to reduce the security level of gmail so that app can access it.

Thanks for all the help.

On Thursday, February 4, 2016 at 11:58:03 PM UTC-8, Daniel Chimeno wrote:
>
> This are the settings you should put:
>
> https://support.google.com/mail/troubleshooter/1668960?rd=1#ts=1665018%2C1665144
>
>
> El viernes, 5 de febrero de 2016, 2:04:44 (UTC+1), learn django escribió:
>>
>> I tried both but no luck.
>>
>> On Thursday, February 4, 2016 at 3:49:48 PM UTC-8, Dheerendra Rathor 
>> wrote:
>>>
>>> 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...@googlegroups.com.
>>>> To post to this group, send email to django...@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/0310e587-56df-4e41-81ac-f56c0375b839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to